### Question:
WroModelInspector { public boolean hasGroup(final String groupName) { return map.containsKey(groupName); } WroModelInspector(final WroModel model); Group getGroupByName(final String name); Collection<String> getGroupNamesContainingResource(final String resourceUri); final List<String> getGroupNames(); boolean hasGroup(final String groupName); String getGroupNamesAsString(); Collection<Resource> getAllUniqueResources(); Collection<Resource> getAllResources();  }### Answer:
@Test public void testHasGroup() { assertFalse(victim.hasGroup("NOT_EXIST")); assertTrue(victim.hasGroup("g1")); }