public StringPalindromeFinder() { _comparer = new StringPalindromeComparer(); }
public StringPalindromeFinder(IPalindromeComparer <string> comparer) { _comparer = comparer; }
public void TestInitialize() { _comparer = new StringPalindromeComparer(); _mockComparer = new Mock <IPalindromeComparer <string> >(); _finder = new StringPalindromeFinder(_mockComparer.Object); }