SearchSupportRest extends BaseObjectRest<String> { public Class getController() { return DiscoveryRestController.class; }  String getCategory(); String getType(); Class getController(); @Override boolean equals(Object object); @Override int hashCode(); static final String NAME; static final String CATEGORY; }
@Test public void testGetControllerReturnsCorrectValue() throws Exception { assertEquals(DiscoveryRestController.class, searchSupportRest.getController()); }