public void GivenTitleWithMoreThan256Characters_WhenParseTitleIsCalled_ThenTruncatedTitleIsReturned() { string title = new string('*', 257); var parsedTitle = parser.ParseTitle(title); parsedTitle.Length.Should().Be(256); }
public void GivenTitleWith256Characters_WhenParseUserIsCalled_ThenUntouchedTitleIsReturned() { string title = new string('*', 256); var parsedUser = parser.ParseTitle(title); parsedUser.Should().Be(title); }