@Test
public void test14getServiceDef() throws Exception {

	RangerServiceDef rangerServiceDef = rangerServiceDef();
	Mockito.when(serviceDefService.read(Id)).thenReturn(rangerServiceDef);
	RangerServiceDef dbRangerServiceDef = serviceDBStore.getServiceDef(Id);
	Assert.assertNotNull(dbRangerServiceDef);
	Assert.assertEquals(dbRangerServiceDef, rangerServiceDef);
	Assert.assertEquals(dbRangerServiceDef.getId(),
			rangerServiceDef.getId());
	Assert.assertEquals(dbRangerServiceDef.getCreatedBy(),
			rangerServiceDef.getCreatedBy());
	Assert.assertEquals(dbRangerServiceDef.getDescription(),
			rangerServiceDef.getDescription());
	Assert.assertEquals(dbRangerServiceDef.getGuid(),
			rangerServiceDef.getGuid());
	Assert.assertEquals(dbRangerServiceDef.getImplClass(),
			rangerServiceDef.getImplClass());
	Assert.assertEquals(dbRangerServiceDef.getLabel(),
			rangerServiceDef.getLabel());
	Assert.assertEquals(dbRangerServiceDef.getName(),
			rangerServiceDef.getName());
	Assert.assertEquals(dbRangerServiceDef.getRbKeyDescription(),
			rangerServiceDef.getRbKeyDescription());
	Assert.assertEquals(dbRangerServiceDef.getConfigs(),
			rangerServiceDef.getConfigs());
	Assert.assertEquals(dbRangerServiceDef.getVersion(),
			rangerServiceDef.getVersion());
	Assert.assertEquals(dbRangerServiceDef.getResources(),
			rangerServiceDef.getResources());
	Mockito.verify(serviceDefService).read(Id);
}