private void RegisterAndConfirmCustomerRegistration(ISet behaviour, ITestCustomer customer) { behaviour.Perform() .Given(customer.Has("completed").Registration) .When(customer.Has("confirmed").Registration) .Then(customer.Named("returning " + customer.Name()).Login); }
private void FullyRegister(ISet behaviour, ITestCustomer customer) { Debug.WriteLine("Perform full customer registration"); behaviour.Perform() .Given(customer.Has("fully completed").Registration); //.And(customer...) }