<reponame>mindyzwan/python_test<filename>test_main.py
#!/usr/bin/env python3
from unittest import TestCase
from project_main import ProjectMain

class TestMain(TestCase):

    def test_when_ProjectMain_is_made_get_greeting_returns_default_greeting(self):
        main = ProjectMain()
        expected = 'Hello user!'
        actual = main.get_greeting()
        self.assertEqual(expected, actual, 'Not the greeting I was expecting')