def test_matches_should_return_false_when_values_are_equal(self): matcher = EqualsMatcher("spam") self.assertFalse(matcher.matches("eggs"))
def test_matches_should_return_true_when_values_are_equal(self): matcher = EqualsMatcher("spam") self.assertTrue(matcher.matches("spam"))