Unexpected exception type thrown ==> expected: <cz.cvut.kbss.jopa.exceptions.IntegrityConstraintViolatedException> but was: <java.lang.NullPointerException>
Stack Trace
org.opentest4j.AssertionFailedError: Unexpected exception type thrown ==> expected: <cz.cvut.kbss.jopa.exceptions.IntegrityConstraintViolatedException> but was: <java.lang.NullPointerException>
at cz.cvut.kbss.jopa.oom.EntityConstructorTest.icsAreValidatedForAllFieldsOnEntityLoad(EntityConstructorTest.java:510)
Caused by: java.lang.NullPointerException
at cz.cvut.kbss.jopa.oom.EntityConstructorTest.lambda$3(EntityConstructorTest.java:511)
at cz.cvut.kbss.jopa.oom.EntityConstructorTest.icsAreValidatedForAllFieldsOnEntityLoad(EntityConstructorTest.java:510)