SearchSupportRest extends BaseObjectRest<String> { public String getType() { return NAME; }  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 testGetTypeReturnsCorrectValue() throws Exception { assertEquals(SearchSupportRest.NAME, searchSupportRest.getType()); }