Skip to content

Instantly share code, notes, and snippets.

@ivanpaulovich
Last active June 23, 2018 20:56
Show Gist options
  • Save ivanpaulovich/79d405a602685bb2e8468aa6dd00f42b to your computer and use it in GitHub Desktop.
Save ivanpaulovich/79d405a602685bb2e8468aa6dd00f42b to your computer and use it in GitHub Desktop.
[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