Created
October 19, 2018 16:33
-
-
Save dhinojosa/580cc583b165ba9d19d410861857820f to your computer and use it in GitHub Desktop.
This file contains 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 com.xyzcorp | |
import org.scalatest.{FunSpec, Matchers} | |
class EmployeeSpec extends FunSpec with Matchers { | |
describe("An employee") { | |
describe("when a first name and last name is given and full name is called") { | |
it("should return the first name and last name in between") { | |
val e = new Employee("Nikifor", "N") | |
e.fullName should be ("Nikifor N") | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment