Skip to content

Instantly share code, notes, and snippets.

@PiotrPerak
Last active November 23, 2018 08:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PiotrPerak/25afc2c4f2178ccae79f23e04a7c56c3 to your computer and use it in GitHub Desktop.
Save PiotrPerak/25afc2c4f2178ccae79f23e04a7c56c3 to your computer and use it in GitHub Desktop.
public TestedObject CreateSut()
{
return new TestedObject();
}
[Test]
public void It_does_this()
{
var sut = CreateSut();
var result = sut.DoThis();
// assert result
}
[Test]
public void It_does_that()
{
var sut = CreateSut();
var result = sut.DoThat();
// assert result
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment