Guest User

Untitled

a guest
Jun 24th, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. [Fact]
  2. public void Customer_Should_Be_Loaded()
  3. {
  4. //
  5. // Arrange
  6. AccountCollection accounts = new AccountCollection();
  7. accounts.Add(Guid.Empty);
  8.  
  9. Customer customer = Customer.Load(
  10. Guid.Empty,
  11. "Sammy Fredriksson",
  12. "741214-3054",
  13. accounts);
  14.  
  15. Assert.Equal(Guid.Empty, customer.Id);
  16. Assert.Equal("Sammy Fredriksson", customer.Name);
  17. Assert.Equal("741214-3054", customer.SSN);
  18. }
Add Comment
Please, Sign In to add comment