public void ShouldNotAcceptInvalidBase64() { var record = new DiffRecord { Left = "not-valid", Right = "not-valid" }; _sut.Invoking(s => s.RefreshDiff(record)).Should().Throw <FormatException>(); }