コード例 #1
0
        public void Next_ReturnsString()
        {
            LastNameSource source = new LastNameSource();
            String name = source.Next(null);

            Assert.NotNull(name);
        }
コード例 #2
0
        public override string Next(IGenerationSession session)
        {
            var firstName = _firstNameSource.Next(session);
            var lastName  = _lastNameSource.Next(session);

            return(string.Format("{0} {1}", firstName, lastName));
        }
コード例 #3
0
        public void Next_ReturnsString()
        {
            LastNameSource source = new LastNameSource();
            String         name   = source.Next(null);

            Assert.NotNull(name);
        }