示例#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());
        }