@Test public void update() { dbTester.prepareDbUnit(getClass(), "shared.xml"); QualityProfileDto dto = new QualityProfileDto() .setId(1) .setName("New Name") .setLanguage("js") .setParentKee("fghij") .setDefault(false); underTest.update(dto); dbTester.assertDbUnit( getClass(), "update-result.xml", new String[] {"created_at", "updated_at", "rules_updated_at"}, "rules_profiles"); }