def METHOD_NAME(self):
    self.params["foo1"] = "yes"
    self.params["foo2"] = "no"
    self.params["foo3"] = "on"
    self.params["foo4"] = "off"
    self.params["foo5"] = "true"
    self.params["foo6"] = "false"
    self.assertEqual(True, self.params.get_boolean('foo1'))
    self.assertEqual(False, self.params.get_boolean('foo2'))
    self.assertEqual(True, self.params.get_boolean('foo3'))
    self.assertEqual(False, self.params.get_boolean('foo4'))
    self.assertEqual(True, self.params.get_boolean('foo5'))
    self.assertEqual(False, self.params.get_boolean('foo6'))
    self.assertEqual(False, self.params.get_boolean('notgiven'))