public async Task KeepsSameMediaType() { // Given TestDocument input = new TestDocument("ABC", "Foo"); AppendContent append = new AppendContent("123"); // When IReadOnlyList <TestDocument> results = await ExecuteAsync(input, append); // Then results.Single().ContentProvider.MediaType.ShouldBe("Foo"); }
public async Task AppendsContent() { // Given TestDocument input = new TestDocument("ABC"); AppendContent append = new AppendContent("123"); // When IReadOnlyList <TestDocument> results = await ExecuteAsync(input, append); // Then results.Single().Content.ShouldBe("ABC123"); }