public function testCountAllEmployeeShouldBe2() { $employeeDAO = new EmployeeDAO(); $employeeDAO->setDatabaseConnection($this->pdo); $allEmployee = $employeeDAO->countAll(); $this->assertEquals(2, $allEmployee); }