Exemplo n.º 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());
        }
Exemplo n.º 2
0
        public void Location_returns_a_location()
        {
            A.CallTo(() => _fakerContainer.Random.Element(ZeldaData.Locations))
            .Returns("Tarrey Town");

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