### Question:
BlockTemplate extends AbstractTwitterOperations implements BlockOperations { public CursoredList<Long> getBlockedUserIds() { return getBlockedUserIdsInCursor(-1); } BlockTemplate(RestTemplate restTemplate, boolean isAuthorizedForUser, boolean isAuthorizedForApp); TwitterProfile block(long userId); TwitterProfile block(String screenName); TwitterProfile unblock(long userId); TwitterProfile unblock(String screenName); CursoredList<TwitterProfile> getBlockedUsers(); CursoredList<TwitterProfile> getBlockedUsersInCursor(long cursor); CursoredList<Long> getBlockedUserIds(); CursoredList<Long> getBlockedUserIdsInCursor(long cursor);  }### Answer:
@Test public void getBlockedUserIds() { mockServer.expect(requestTo("https: .andExpect(method(GET)) .andRespond(withSuccess(jsonResource("blocked-user-ids"), APPLICATION_JSON)); CursoredList<Long> blockedUsers = twitter.blockOperations().getBlockedUserIds(); assertEquals(2, blockedUsers.size()); mockServer.verify(); }