Last active
August 29, 2015 14:00
-
-
Save yreynhout/11193173 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
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