public void Item_returns_an_item() { A.CallTo(() => _fakerContainer.Random.Element(A <IEnumerable <string> > .That.IsSameSequenceAs(Data.Items))) .Returns("Master Sword"); Assert.AreEqual("Master Sword", _zeldaFaker.Item()); }
public void Item_returns_an_item() { A.CallTo(() => _fakerContainer.Random.Element(ZeldaData.Items)) .Returns("Master Sword"); Assert.AreEqual("Master Sword", _zeldaFaker.Item()); }