public void WhenYoussefAttemptsToLogin(string username, string password) { var youssef = cast.Get <Youssef>(); stage.ShineTheSpotlightOn(youssef); When(youssef).AttemptsTo(LogIntoTheSite.As(username).WithThePassword(password)); }
public void WhenJoeAttemptsToLogin(string username, string password) { var joe = cast.Get <Joe>(); stage.ShineTheSpotlightOn(joe); When(joe).AttemptsTo(LogIntoTheSite.As(username).WithThePassword(password)); }
public void WhenTheyAttemptToLogin(string username, string password) { var theActor = stage.GetTheActorInTheSpotlight(); When(theActor).AttemptsTo(LogIntoTheSite.As(username).WithThePassword(password)); }