Created
June 16, 2017 09:35
-
-
Save svenliebig/a677da6e0c94c9b1ef859911dbd476d5 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
public class KlasseA { | |
private KlasseB b; | |
} | |
public class KlasseB { | |
private KlasseA a; | |
} | |
// @test | |
final KlasseB b1 = new KlasseB(); | |
final KlasseB b2 = new KlasseB(); | |
EqualsVerifier.forClass(KlasseA.class).withPrefabValues(KlasseB.class, b1, b2).suppress(Warning.NONFINAL_FIELDS).verify(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment