@Test
public void testAddResourceNoParserClass() {

    ResourceGroup instance = new ResourceGroup("wibble", TestResourceGroupParser.class);
    Resource resource = new Resource("Dave");
    resource.setParserClass(null);
    assertTrue(instance.addResource(resource));
}