Created
July 12, 2018 22:55
-
-
Save mohamed-gara/4e74c2183f1be8c29fca5b44b76582a8 to your computer and use it in GitHub Desktop.
Basic attribute is not lazy loaded
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Test | |
public void basicAttributeIsNotLazyLoaded() { | |
Person person = entityManager.find(Person.class, PERSON_ID); | |
assertThat(person).hasEagerlyLoaded("comment"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment