SearchConfigurationResourceHalLinkFactory extends HalLinkFactory<SearchConfigurationResource, DiscoveryRestController> { protected Class<SearchConfigurationResource> getResourceClass() { return SearchConfigurationResource.class; }    }
@Test public void testResourceClassIsSetCorrectlyAfterConstructor() throws Exception { assertEquals(SearchConfigurationResource.class, searchConfigurationResourceHalLinkFactory.getResourceClass()); }