Skip to content

Instantly share code, notes, and snippets.

@yreynhout
Last active August 29, 2015 14:00
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 yreynhout/11193173 to your computer and use it in GitHub Desktop.
Save yreynhout/11193173 to your computer and use it in GitHub Desktop.
using NUnit;
[TestFixture]
public class ShowCase
{
[Test]
public void EnrichesChangedOpeningHoursInTheExpectedWay()
{
new EventEnricherAssertion<BeautyFarmEventEnricher, ChangedOpeningHours>().
SetBeautyFarmName(123, "Spa Deluxe").
SetEmployeeFullName(456, "Jane Doe").
Verify(
input: new ChangedOpeningHours
{
BeautyFarmId = 123
EmployeeId = 456
},
output: new ChangedOpeningHours
{
BeautyFarmId = 123,
BeautyFarmName = "Spa Deluxe"
EmployeeId = 546,
EmployeeFullName = "Jane Doe"
}
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment