- {Breaking Change} Since the addition of
Should().Throw
andShould().NotThrow
forFunc<T>
, assertionsShould().Be
andShould().NotBe
can't be used onFunc<T>
objects anymore, so this may cause breaking changes. These instances can easily be replaced withShould().BeSameAs
andShould().NotBeSameAs
as these types are compared by references.