protected function getDeposits() { $this->shipment = new \Skimia\LaPoste\Containers\Shipment($this->getDirLoader()); $this->shipment->setMaildropInGinned(); $this->shipment->setNewCodeRoutine(function ($productCode, $enveloppe) { switch ($productCode) { case '75': return '2KXXXXX56857'; break; } }); $production = new \Skimia\LaPoste\Params\ProductionSiteParams(__DIR__ . '/fixtures/conf/site1.php'); $production->setContactor('special'); $this->makeTestList($filename); $listLoader = new \Skimia\LaPoste\Lists\Loader\LaPosteTestListLoader($filename); return $this->shipment->bindList($production, '75', $listLoader); }