RangerServiceService extends RangerServiceServiceBase<XXService, RangerService> { @Override protected void validateForUpdate(RangerService vService, XXService xService) { } RangerServiceService(); RangerService getPopulatedViewObject(XXService xService); List<RangerService> getAllServices(); List<XXTrxLog> getTransactionLog(RangerService vService, int action); List<XXTrxLog> getTransactionLog(RangerService vObj, XXService mObj, int action); Map<String, String> getConfigsWithDecryptedPassword(RangerService service); RangerService postCreate(XXService xObj);  }
@Test public void test2ValidateForUpdate() { RangerService vService = rangerService(); XXService xService = xService(); serviceService.validateForUpdate(vService, xService); Assert.assertNotNull(vService); }