### Question:
GroupsService implements FalconService { public List<String> getGroups(String user) throws IOException { return hGroups.getGroups(user); }  @Override void init(); @Override void destroy(); @Override String getName(); List<String> getGroups(String user); static final String SERVICE_NAME; }### Answer:
@Test public void testGroupsService() throws Exception { List<String> g = service.getGroups(System.getProperty("user.name")); Assert.assertNotSame(g.size(), 0); }