No, Entity is really only for JPA, we are not testing with JPA for this test. Perhaps another test with JPA can be added in the future.