using System; using System.Collections.Generic; using System.Text; using ImageSharp.Processing; using Xunit; namespace ImageSharp.Tests { public abstract class BaseImageOperationsExtensionTest { protected readonly FakeImageOperationsProvider.FakeImageOperations operations; public BaseImageOperationsExtensionTest() { this.operations = new FakeImageOperationsProvider.FakeImageOperations(null); } public T Verify(int index = 0) { var operation = this.operations.applied[index]; return Assert.IsType(operation.Processor); } } }