RangerServiceDefService extends RangerServiceDefServiceBase<XXServiceDef, RangerServiceDef> { @Override protected void validateForCreate(RangerServiceDef vObj) { } RangerServiceDefService(); List<RangerServiceDef> getAllServiceDefs(); RangerServiceDef getPopulatedViewObject(XXServiceDef xServiceDef);  }
@Test public void test1ValidateForCreate() { RangerServiceDef rangerServiceDef = rangerServiceDef(); serviceDefService.validateForCreate(rangerServiceDef); Assert.assertNotNull(rangerServiceDef); }