/** * @test */ public function uninstall() { $package = $this->createPackageMock(); $this->installer->expects($this->once())->method('uninstall')->with($this->repository, $package); $this->createSolver()->uninstall($this->repository, $package); }