public function testSetData() { $this->assertFalse($this->session->setData([])); $proverb[] = 'Be humble for you are made of earth. '; $proverb[] = 'Be noble for you are made of stars.'; $this->assertTrue(Session::setData($proverb)); $data = (array) Session::getData(); $this->assertEquals(array_pop($data), $proverb[1]); setDummyCredentials(); }