public void WhenCalling_ApplyTransforms_WithNoGdiImageInSuppliedImageArg_Should_ThrowArgumentException() { var sut = new ImageTransformer(); sut.Invoking(it => it.ApplyTransforms(new Image("01_04_2019_001103"), "100x100")) .Should().ThrowExactly <ArgumentException>(); }
public void WhenCalling_ApplyTransforms_WithNullImage_Should_ThrowArgumentNullException() { var sut = new ImageTransformer(); sut.Invoking(it => it.ApplyTransforms(null, "100x100")) .Should().ThrowExactly <ArgumentNullException>(); }