def METHOD_NAME(self):
    sel = validation.Selector()
    sel.add(lambda x: x == 'int', validation.IntValidator())
    sel.add(lambda x: x == 'str', validation.StringValidator())
    self.doValidationTest(sel,
                          good=[
                              ('int', 1),
                              ('str', 'hi'),
                          ], bad=[
                              ('int', 'hi'),
                              ('str', 1),
                              ('float', 1.0),
                          ])