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