diff --git a/tests/functional/openlp_plugins/presentations/test_presentationcontroller.py b/tests/functional/openlp_plugins/presentations/test_presentationcontroller.py index 97d34f4f1..61d62b473 100644 --- a/tests/functional/openlp_plugins/presentations/test_presentationcontroller.py +++ b/tests/functional/openlp_plugins/presentations/test_presentationcontroller.py @@ -36,13 +36,18 @@ from tests.functional import MagicMock class TestPresentationController(TestCase): """ - Test the mediaitem methods. + Test the PresentationController. """ - def setUp(self): - """ - Set up the components need for all tests. - """ - self.pres_controller = PresentationController(plugin=MagicMock()) - def constructor_test(self): - assert(self.pres_controller.name == "PresentationController") + """ + Test the Constructor + """ + # GIVEN: No presentation controller + controller = None + + # WHEN: The presentation controller object is created + controller = PresentationController(plugin=MagicMock()) + + # THEN: The name of the presentation controller should be correct + self.assertEqual('PresentationController', controller.name, + 'The name of the presentation controller should be correct')