public function setUp() { $this->fallback = 'de'; $this->stack = new Collection([new Parameter('locale'), new Cookie('locale'), new Session('locale')]); $this->determiner = (new Stack($this->stack))->setFallback($this->fallback); }