public void ShouldNotBeAnotherProject() { //GIVEN var project = Any.Instance <IDependencyPathBasedRuleTarget>(); var searchResult = new ProjectFoundSearchResult(project, Any.Integer()); //WHEN var isNotAnotherProject = searchResult.IsNot(Any.OtherThan(project)); //THEN isNotAnotherProject.Should().BeTrue(); }
public void ShouldBeItself() { //GIVEN var project = Any.Instance <IDependencyPathBasedRuleTarget>(); var searchResult = new ProjectFoundSearchResult(project, Any.Integer()); //WHEN var isNotItself = searchResult.IsNot(project); //THEN isNotItself.Should().BeFalse(); }