Exemplo n.º 1
0
        public void WhenYoussefAttemptsToLogin(string username, string password)
        {
            var youssef = cast.Get <Youssef>();

            stage.ShineTheSpotlightOn(youssef);

            When(youssef).AttemptsTo(LogIntoTheSite.As(username).WithThePassword(password));
        }
Exemplo n.º 2
0
        public void WhenJoeAttemptsToLogin(string username, string password)
        {
            var joe = cast.Get <Joe>();

            stage.ShineTheSpotlightOn(joe);

            When(joe).AttemptsTo(LogIntoTheSite.As(username).WithThePassword(password));
        }
Exemplo n.º 3
0
        public void WhenTheyAttemptToLogin(string username, string password)
        {
            var theActor = stage.GetTheActorInTheSpotlight();

            When(theActor).AttemptsTo(LogIntoTheSite.As(username).WithThePassword(password));
        }