public void Suffix_returns_a_suffix() { A.CallTo(() => _fakerContainer.Random.Element(NameData.Suffixes)) .Returns("IV"); Assert.AreEqual("IV", _nameFaker.Suffix()); }
public void Suffix_returns_a_suffix() { A.CallTo(() => _fakerContainer.Random.Element( A <IEnumerable <string> > .That.IsSameSequenceAs(Data.Suffixes))) .Returns("IV"); Assert.AreEqual("IV", _nameFaker.Suffix()); }