Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import org.junit.Test
- class Asdf {
- private String testInput
- void runTests() {
- Scanner input = new Scanner(System.in)
- println "Please insert some value"
- testInput = input.nextLine()
- println testInput
- "hello there tests"()
- }
- @Test
- void "hello there tests"() {
- assert "boi" == testInput
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement