Last active
June 23, 2018 20:56
-
-
Save ivanpaulovich/79d405a602685bb2e8468aa6dd00f42b 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
[Fact] | |
public void Customer_Should_Be_Loaded() | |
{ | |
// | |
// Arrange | |
AccountCollection accounts = new AccountCollection(); | |
accounts.Add(Guid.Empty); | |
Customer customer = Customer.Load( | |
Guid.Empty, | |
"Sammy Fredriksson", | |
"741214-3054", | |
accounts); | |
Assert.Equal(Guid.Empty, customer.Id); | |
Assert.Equal("Sammy Fredriksson", customer.Name); | |
Assert.Equal("741214-3054", customer.SSN); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment