Пример #1
0
 public void should_return_true_if_they_have_the_same_method_source_description_and_false_otherwise(ValueOriginSourceId source, ValueOriginDeterminationMethodId method, string description, bool equal)
 {
     _targetValueOrigin.Source      = ValueOriginSources.ById(source);
     _targetValueOrigin.Method      = ValueOriginDeterminationMethods.ById(method);
     _targetValueOrigin.Description = description;
     _sourceValueOrigin.Equals(_targetValueOrigin).ShouldBeEqualTo(equal);
 }
Пример #2
0
 public void shoud_return_true_if_they_are_both_undefined()
 {
     _sourceValueOrigin = new ValueOrigin();
     _sourceValueOrigin.Equals(_targetValueOrigin).ShouldBeTrue();
 }