Exemple #1
0
        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());
        }
Exemple #2
0
        public void Item_returns_an_item()
        {
            A.CallTo(() => _fakerContainer.Random.Element(ZeldaData.Items))
            .Returns("Master Sword");

            Assert.AreEqual("Master Sword", _zeldaFaker.Item());
        }