}
@Test
public void instantiationListener() {
final List<Department> instantiations = new ArrayList<Department>();
db.getInstantiatorRegistry().addInstantiationListener(new InstantiationListener() {
@Override
public void onInstantiation(@NotNull Object object) {
if (object instanceof Department)
instantiations.add((Department) object);
}