public void QuotesProviderCommentLinesTests_providedQuotesListWithCommentLinesShouldSkipThem(string content, int expectedGroupsCount) { contentProvider.SetLinesFromString(content); var actual = sut.GetQuotesList(); Assert.Equal(actual.Groups[0].Quotes.Count, expectedGroupsCount); }
public void QuotesProviderGroupLinesTests_providedQuotesWithOneGroupShouldAddThemToTheGroup(string content, int expectedQuotesCount) { contentProvider.SetLinesFromString(content); var actual = sut.GetQuotesList(); Assert.Equal(actual.Groups.Count, 1); Assert.Equal(actual.Groups[0].Quotes.Count, expectedQuotesCount); }
public void QuotesProvider_shouldReturnQuotesContainerObject() { Assert.NotNull(sut.GetQuotesList()); }