Ejemplo n.º 1
0
        public void Character_returns_a_character()
        {
            A.CallTo(() => _fakerContainer.Random.Element(A <IEnumerable <string> > .That.IsSameSequenceAs(Data.Characters)))
            .Returns("Guru-Guru");

            Assert.AreEqual("Guru-Guru", _zeldaFaker.Character());
        }
Ejemplo n.º 2
0
        public void Character_returns_a_character()
        {
            A.CallTo(() => _fakerContainer.Random.Element(ZeldaData.Characters))
            .Returns("Guru-Guru");

            Assert.AreEqual("Guru-Guru", _zeldaFaker.Character());
        }