/** * @test */ public function ensureIntegerPiVarsIntvalsAlreadyDefinedShowUid() { $this->subject->piVars = array(); $this->subject->piVars['showUid'] = 1.1; $this->subject->ensureIntegerPiVars(); self::assertSame(array('showUid' => 1, 'pointer' => 0, 'mode' => 0), $this->subject->piVars); }