1 2 3 4 5 6 7 8 9
import org.scalatest._ class GreetSpec extends WordSpec with Matchers { "Greet" should { "work" in { Greet.greet("Nik", None) shouldBe("Hello, Nik!") } } }