RangerTagDefService extends RangerTagDefServiceBase<XXTagDef, RangerTagDef> { @Override protected void validateForCreate(RangerTagDef vObj) { } RangerTagDefService(); RangerTagDef getPopulatedViewObject(XXTagDef xObj); RangerTagDef getTagDefByGuid(String guid); RangerTagDef getTagDefByName(String name); List<RangerTagDef> getTagDefsByServiceId(Long serviceId); @Override List<RangerTagDef.RangerTagAttributeDef> getAttributeDefForTagDef(XXTagDef xtagDef);  }
@Test public void test1ValidateForCreate() { RangerTagDef rangerServiceDef = new RangerTagDef(); rangerTagDefService.validateForCreate(rangerServiceDef); Assert.assertNotNull(rangerServiceDef); }