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