public async Task CustomerCanBeCreated()
 {
     var customer = Customer.CreateCustomer(
         this.timeService,
         this.userService,
         new CustomerValidator(),
         "John",
         "Doe",
         TestAddressBuilder.New()
         .WithStreet("Test street")
         .WithNumber("500KJL")
         .WithPostalCode("551DD")
         .WithCountryId(1)
         .WithDistrict("Teststrict")
         .Build());
 }
 public async Task Customer_Requires_LastName()
 {
     Assert.ThrowsException <EntityValidationException <Customer> >(() => Customer.CreateCustomer(
                                                                        this.timeService,
                                                                        this.userService,
                                                                        new CustomerValidator(),
                                                                        "FirstName",
                                                                        String.Empty,
                                                                        TestAddressBuilder.New()
                                                                        .WithStreet("Test street")
                                                                        .WithNumber("500KJL")
                                                                        .WithPostalCode("551DD")
                                                                        .WithCountryId(1)
                                                                        .WithDistrict("Teststrict")
                                                                        .Build()
                                                                        ), "Entity Customer is invalid because LastName is not provided");
 }