@Test public void removeConfSchemasByAppIdTest() { ApplicationDto application = generateApplicationDto(); String appId = application.getId(); List<ConfigurationSchemaDto> dtoList = configurationService.findConfSchemasByAppId(appId); Assert.assertNotNull(dtoList); Assert.assertFalse(dtoList.isEmpty()); configurationService.removeConfSchemasByAppId(appId); dtoList = configurationService.findConfSchemasByAppId(appId); Assert.assertNotNull(dtoList); Assert.assertTrue(dtoList.isEmpty()); }