Clazz c = new Clazz("c");
l.addClazz(c);
controller.apply(new NewProjectOperation(p));
try {
controller.apply(new EditNodeOperation(c.vertex, new StringLiteral("String is not Clazz")));
fail("should throw IllegalArgumentException");
} catch (IllegalArgumentException e) {
assertTrue(e.getMessage(), e.getMessage().contains("Clazz"));
}
}