1
0
Fork 0

add watchers support to class Watches - update testGetWatchers

master
Kem 2016-09-09 12:26:23 -04:00
parent 9ecc0a6cd4
commit cd83a8ea10
1 changed files with 2 additions and 0 deletions

View File

@ -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<User>());
}
@Test