@Test public void testRemoveServerProfileSchemaById() { ServerProfileSchemaDto schemaDto = generateServerProfileSchema(null, null); serverProfileService.removeServerProfileSchemaById(schemaDto.getId()); Assert.assertNull(serverProfileService.findServerProfileSchema(schemaDto.getId())); }