'Verify that the Boolean parser parses \'True\' and \'False\', but nothing
else.'

def test_booleanValues(self):

    b = amp.Boolean()
    self.assertTrue(b.fromString('True'))
    self.assertFalse(b.fromString('False'))
    self.assertRaises(TypeError, b.fromString, 'ninja')
    self.assertRaises(TypeError, b.fromString, 'true')
    self.assertRaises(TypeError, b.fromString, 'TRUE')
    self.assertEqual(b.toString(True), 'True')
    self.assertEqual(b.toString(False), 'False')
