void confirmEmailAddress() { // Given givenARegisteredCustomer(); // When confirmCustomerEmailAddress // Then it should succeed var command = ConfirmCustomerEmailAddress.Build(customerID.Value, confirmationHash.Value); registeredCustomer.ConfirmEmailAddress(command); // and the emailAddress should be confirmed Assert.True(registeredCustomer.IsEmailAddressConfirmed); }