/tests/ExpressionWalker.Tests/ExpressionInfoSpecs/When_two_expression_infos_have_different_values.cs
C# | 22 lines | 18 code | 4 blank | 0 comment | 0 complexity | 2c9588e291c91a696dd06f0cda25d084 MD5 | raw file
- using FluentAssertions;
- using Machine.Specifications;
- namespace ExpressionWalker.Tests.ExpressionInfoSpecs
- {
- public class When_two_expression_infos_have_different_values
- {
- Establish context = () =>
- {
- _first = new ExpressionInfo { Value = 1 };
- _second = new ExpressionInfo { Value = "Hello" };
- };
- Because of = () => _result = _first.Equals(_second);
- It doesnt_match = () => _result.Should().BeFalse();
- private static ExpressionInfo _first;
- private static ExpressionInfo _second;
- private static bool _result;
- }
- }