public function testPeek() { $data = $this->generateData(); $this->stack->push($data); self::assertEquals($data, $this->stack->peek()); }