Created
May 25, 2020 14:29
-
-
Save scorobogaci/32cfd3765b6afb754562ca97a3b05355 to your computer and use it in GitHub Desktop.
GreetingsBuilderTest
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
package org.example; | |
import org.junit.Test; | |
import static org.junit.Assert.assertEquals; | |
public class GreetingsBuilderTest { | |
@Test | |
public void testGreeting() { | |
GreetingsBuilder greetingsBuilder = new GreetingsBuilder("EN"); | |
String greeting = greetingsBuilder.greet(); | |
assertEquals("Hello", greeting); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment