public Task AfterSerializationFluent() { var target = new ToBeScrubbed { RowVersion = "7D3" }; return(Verifier.Verify(target) .AddScrubber( input => input.Replace("7D3", "TheRowVersion"))); }
public Task ScrubberAppliedAfterJsonSerialization() { var target = new ToBeScrubbed { RowVersion = "0x00000000000007D3" }; var settings = new VerifySettings(); settings.AddScrubber( s => s.Replace("0x00000000000007D3", "TheRowVersion")); return(Verifier.Verify(target, settings)); }
public Task AfterSerialization() { var target = new ToBeScrubbed { RowVersion = "7D3" }; var settings = new VerifySettings(); settings.AddScrubber( input => input.Replace("7D3", "TheRowVersion")); return(Verifier.Verify(target, settings)); }