def test_manager_with_multiple_employees_no_managers_calculates_total_pay(self):
        manager = Manager()
        manager.add_employee(Developer())
        manager.add_employee(QA())

        amount_paid = manager.pay()

        self.assertEquals(1800, amount_paid)
    def test_manager_with_single_employee_calculates_total_pay(self):
        manager = Manager()
        developer = Developer()
        manager.add_employee(developer)

        amount_paid = manager.pay()

        self.assertEquals(1300, amount_paid)
    def test_manager_with_single_employee_calculates_total_pay(self):
        manager = Manager()
        developer = Developer()
        manager.add_employee(developer)

        amount_paid = manager.pay()

        self.assertEquals(1300, amount_paid)
    def test_manager_with_multiple_employees_no_managers_calculates_total_pay(
            self):
        manager = Manager()
        manager.add_employee(Developer())
        manager.add_employee(QA())

        amount_paid = manager.pay()

        self.assertEquals(1800, amount_paid)
    def test_manager_lone_pays_300(self):
        manager = Manager()

        amount_paid = manager.pay()

        self.assertEqual(300, amount_paid)
    def test_manager_lone_pays_300(self):
        manager = Manager()

        amount_paid = manager.pay()

        self.assertEqual(300, amount_paid)