public/phpmyadmin/test/classes/Setup/IndexTest.php
/**
     * Test for SetupIndex::messagesSet
     *
     * @return void
     */
Test for SetupIndex::messagesSet
@return void
Test for SetupIndex :: messagesSet @return void
public function testPMAmessagesSet()
    {
        SetupIndex::messagesSet('type', '123', 'testTitle', 'msg');
        $this->assertEquals(
            array(
                'fresh' => true,
                'active' => true,
                'title' => 'testTitle',
                'message' => 'msg'
            ),
            $_SESSION['messages']['type']['123']
        );
    }
public function testPMAmessagesSet ( ) { SetupIndex :: messagesSet ( 'type' , '123' , 'testTitle' , 'msg' ) ; $ this -> assertEquals ( array ( 'fresh' => true , 'active' => true , 'title' => 'testTitle' , 'message' => 'msg' ) , $ _SESSION [ 'messages' ] [ 'type' ] [ '123' ] ) ; }
Test for SetupIndex::messagesSet
 @return void
Test for SetupIndex :: messagesSet @return void