Exemplo n.º 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());
        }
Exemplo n.º 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());
        }