BenMorris / NetArchTest

A fluent API for .Net that can enforce architectural rules in unit tests.
MIT License
1.39k stars 82 forks source link

v 1.3.2 Object is not set to an instance of an object, but not in v 1.3.0 #103

Closed adcorduneanu closed 2 years ago

adcorduneanu commented 2 years ago

On the project, I'm working on I tried upgrading the existing version 1.3.0 to 1.3.2, but had to revert, because there is a bug in 1.3.2, which doesn't let me get an instance of Conditions via Should, from my PredicateList.

The old Object is not set to an instance of an object kicked in...

What it should do? Get all usages of a specified dependency, in the given assemblies.

image

BenMorris commented 2 years ago

I've not been able to replicate this and nobody else has reported this issue.

From what I can tell there's been no change to the Should() method for some time - it still returns an instance of the Conditions class.