public function testApiConstructor_CallsConstructMethod() { $solver = $this->createSolver([], ['construct']); $solver->expects($this->once())->method('construct'); $solver->__construct(); }