public void Next_ReturnsString() { LastNameSource source = new LastNameSource(); String name = source.Next(null); Assert.NotNull(name); }
public override string Next(IGenerationSession session) { var firstName = _firstNameSource.Next(session); var lastName = _lastNameSource.Next(session); return(string.Format("{0} {1}", firstName, lastName)); }