def METHOD_NAME(self):
    test_attr_name = "test"
    validator = base.EmailValidator()
    self.assertTrue(validator.validate(test_attr_name, "foo@bar.com")[0])
    bad_result = validator.validate(test_attr_name, "foo@@bar.com")
    self.assertFalse(bad_result[0])
    self.assertEqual(bad_result[1], ["test must be a valid email address"])