Skip to content

Instantly share code, notes, and snippets.

@carlosschults
Created August 8, 2017 01:43
Show Gist options
  • Save carlosschults/a91d41ff7ac732fc9c57e63c03a6be07 to your computer and use it in GitHub Desktop.
Save carlosschults/a91d41ff7ac732fc9c57e63c03a6be07 to your computer and use it in GitHub Desktop.
[Test]
public void IntroduceMethodShouldWorkCorrectly()
{
// arrange
var sut = new Employee("Alice", "Programmer", 100000);
var expected = "Hi! My name is Alice and I work as a Programmer.";
// act
string result = sut.Introduce();
// assert
Assert.AreEqual(expected, result);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment