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