@Test public void shouldRemoveParent() { setupData("shouldRemoveParent"); profilesManager.changeParentProfile(2, null, "admin"); checkTables("shouldRemoveParent", "active_rules", "rules_profiles"); }
@Test public void shouldChangeParent() { setupData("shouldChangeParent"); profilesManager.changeParentProfile(3, "new_parent", "admin"); checkTables("shouldChangeParent", "active_rules", "rules_profiles"); }