예제 #1
0
        public void Game_returns_a_game()
        {
            A.CallTo(() => _fakerContainer.Random.Element(A <IEnumerable <string> > .That.IsSameSequenceAs(Data.Games)))
            .Returns("Ocarina of Time");

            Assert.AreEqual("Ocarina of Time", _zeldaFaker.Game());
        }
예제 #2
0
        public void Game_returns_a_game()
        {
            A.CallTo(() => _fakerContainer.Random.Element(ZeldaData.Games))
            .Returns("Ocarina of Time");

            Assert.AreEqual("Ocarina of Time", _zeldaFaker.Game());
        }