Last active
July 12, 2018 22:58
-
-
Save mohamed-gara/429a71b18e42fb8a3de0e69c021c9023 to your computer and use it in GitHub Desktop.
Test example
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
@Data(PersonEntityTable.class) | |
public class BasicAttributeTestCase extends EntityLoadingTestCase { | |
@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