public function testChangeMainLocation() { $handler = $this->getLocationHandler(); $this->treeHandler->expects($this->once())->method('changeMainLocation')->with(12, 34); $handler->changeMainLocation(12, 34); }