From cd83a8ea104fecd8673ca60eb3f39a607761534c Mon Sep 17 00:00:00 2001 From: Kem Date: Fri, 9 Sep 2016 12:26:23 -0400 Subject: [PATCH] add watchers support to class Watches - update testGetWatchers --- src/test/java/net/rcarz/jiraclient/IssueTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/test/java/net/rcarz/jiraclient/IssueTest.java b/src/test/java/net/rcarz/jiraclient/IssueTest.java index c95507d..ff81fec 100644 --- a/src/test/java/net/rcarz/jiraclient/IssueTest.java +++ b/src/test/java/net/rcarz/jiraclient/IssueTest.java @@ -6,6 +6,7 @@ import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotNull; import java.net.URI; +import java.util.ArrayList; import java.util.List; import java.util.Map; @@ -103,6 +104,7 @@ public class IssueTest { assertFalse(watches.isWatching()); assertEquals(watches.getWatchCount(), 0); assertEquals(watches.getSelf(), "https://brainbubble.atlassian.net/rest/api/2/issue/FILTA-43/watchers"); + assertEquals(watches.getWatchers(), new ArrayList()); } @Test