-
-
Notifications
You must be signed in to change notification settings - Fork 501
-
java-fundamentals-exercises/0-0-intro/src/test/java/com/bobocode/intro/ExerciseIntroductionTest.java
Line 26 in c6617fa
private String EXPECTED_MESSAGE = "The key to efficient learning is practice!";
For me this var make coupling between tests, what do you think about it?
Also, just wondering, regarding this test class, why do you need to crazy logic in the com.bobocode.intro.ExerciseIntroductionTest#encodeMessageReturnsCorrectPhrase? Vs just
assertEquals(exerciseIntroduction.encodeMessage(EXPECTED_MESSAGE), "VGhlIGtleSB0byBlZmZpY2llbnQgbGVhcm5pbmcgaXMgcHJhY3RpY2Uh");
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment