示例#1
0
        public void Location_returns_a_location()
        {
            A.CallTo(() => _fakerContainer.Random.Element(A <IEnumerable <string> > .That.IsSameSequenceAs(Data.Locations)))
            .Returns("Tarrey Town");

            Assert.AreEqual("Tarrey Town", _zeldaFaker.Location());
        }
示例#2
0
        public void Location_returns_a_location()
        {
            A.CallTo(() => _fakerContainer.Random.Element(ZeldaData.Locations))
            .Returns("Tarrey Town");

            Assert.AreEqual("Tarrey Town", _zeldaFaker.Location());
        }