Assert.hasText(firstname, "Firstname must not be null or empty!");
Assert.hasText(lastname, "Lastname must not be null or empty!");
CustomerNumber number = generator.generateCustomerNumber();
Customer customer = new Customer(firstname, lastname, number);
return repository.save(customer);
}