def test_can_create_cat(self):
        cat = Animal('Kitten', Animal.CAT)

        self.assertEquals(cat.name, 'Kitten')
        self.assertTrue(cat.is_cat())
        self.assertFalse(cat.is_dog())
    def test_can_create_dog(self):
        dog = Animal('Pluto', Animal.DOG)

        self.assertEquals(dog.name, 'Pluto')
        self.assertTrue(dog.is_dog())
        self.assertFalse(dog.is_cat())