Exemplo n.º 1
0
 public StringShouldBeAssertion(
     string expected, string actual,
     Func <string, string, bool> compare,
     ICodeTextGetter codeTextGetter,
     IStringDifferenceHighlighter diffHighlighter,
     string options,
     string shouldlyMethod)
 {
     _expected        = expected;
     _actual          = actual;
     _compare         = compare;
     _codeTextGetter  = codeTextGetter;
     _diffHighlighter = diffHighlighter;
     _options         = options;
     _shouldlyMethod  = shouldlyMethod;
 }
 public StringShouldBeAssertion(
     string expected, string actual,
     Func<string, string, bool> compare,
     ICodeTextGetter codeTextGetter,
     IStringDifferenceHighlighter diffHighlighter,
     string options,
     string shouldlyMethod)
 {
     _expected = expected;
     _actual = actual;
     _compare = compare;
     _codeTextGetter = codeTextGetter;
     _diffHighlighter = diffHighlighter;
     _options = options;
     _shouldlyMethod = shouldlyMethod;
 }