Issue with Enum properties and Considering
dupdob opened this issue · 0 comments
dupdob commented
Enum properties are not supported by Considering.
Expected Behavior
Enum properties should be evaluated when performing property checks .
Current Behavior
Enum properties are not evaluated when performing property checks .
Possible Solution
There is no acceptable workaround as of now.
Code that reproduce the issue
public enum Friends
{
Joey = 1,
Chandler = 2
}
Check.That(new { Friend = Friends.Chandler }).Considering().
Public.Properties.IsEqualTo(new { Friend = Friends.Joey });
Your Environment
- Version used: V2.6