def test_execute(self):
        """
        Test the execute method.

        @raise AssertionError: If the test fails.
        """
        raise_temp_command = self.raise_temp_command_class(self.thermostat, 10)
        lower_temp_command = self.lower_temp_command_class(self.thermostat, 5)

        self.assertEquals("Temperature raised by 10 degrees", raise_temp_command.execute())
        self.assertEquals("Temperature lowered by 5 degrees", lower_temp_command.execute())

        Test the execute method.

        @raise AssertionError: If the test fails.
        
tests/behavioral_tests/test_command.py