예제 #1
0
        public void CanLoadABunchOfNames()
        {
            var names = gateway.GetFirstNames();

            Assert.True(names.Count() > 0);
            Assert.True(names.Contains("Steve"));
            Assert.True(names.Contains("Neo"));
        }
예제 #2
0
 public string GetFirstName(Gender gender, string race)
 {
     return(namesGateway.GetFirstNames(gender, race).ChooseOne());;
 }