示例#1
0
    def test_get_full_name(self):
        """ 
        Test that get_full_name method returns a string with the first 
        middle, and last name separated by a space
        """

        # Create a Name object and get the full name
        name = Name("Iain", "Robert", "Pears")
        full_name = name.get_full_name()

        # Assert expected result of the get_full_name function
        self.assertEqual(full_name, ("Iain Robert Pears"))