Skip to content

rhysawilliams2010/Moq.FluentAssertions

Repository files navigation

Moq.FluentAssertions

A helper library to use the power of fluentassertions with moq It.Is matchers.

Moq.FluentAssertions makes it easy to see which arguments failed to match a Setup or Verify.

Use it like so:

  Mock.Of<MyService>.Setup(x=>x.DoSomething(It.Is(Equivalent.To<Something>(new {Value="Something"})));

Install from nuget:

  Install-Package RhysAWilliams.Moq.FluentAssertions

About

A fluent assertion helper for Moq It

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages