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()); }
public void Game_returns_a_game() { A.CallTo(() => _fakerContainer.Random.Element(ZeldaData.Games)) .Returns("Ocarina of Time"); Assert.AreEqual("Ocarina of Time", _zeldaFaker.Game()); }