You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I have a simple use case here and unfortunately it doesn't work as expected. Here's a unit test that's failing although I think it shouldn't:
usingEntityChange;usingNUnit.Framework;[TestFixture]publicclassDesiredStateChecks{publicabstractclassAbstractBase{}publicclassConcreteClass:AbstractBase{publicstringSomeString{get;set;}}publicclassConsumer{publicAbstractBaseSomeProperty{get;set;}}[Test]publicvoidFoo(){varobj1=newConsumer(){SomeProperty=newConcreteClass(){SomeString="Test1"}};varobj2=newConsumer(){SomeProperty=newConcreteClass(){SomeString="Test2"// that's a difference!}};varcomparer=newEntityComparer();varresult=comparer.Compare(obj1,obj2);Assert.That(result,Is.Not.Empty);}}
Am I using it wrong?
The text was updated successfully, but these errors were encountered:
Hi,
I have a simple use case here and unfortunately it doesn't work as expected. Here's a unit test that's failing although I think it shouldn't:
Am I using it wrong?
The text was updated successfully, but these errors were encountered: