eZ\Publish\Core\REST\Server\Tests\Input\Parser\SessionInputTest::testParse PHP Метод

testParse() публичный Метод

Tests the SessionInput parser.
public testParse ( )
    public function testParse()
    {
        $inputArray = array('login' => 'Login Foo', 'password' => 'Password Bar');
        $sessionInput = $this->getParser();
        $result = $sessionInput->parse($inputArray, $this->getParsingDispatcherMock());
        $this->assertEquals(new SessionInputValue($inputArray), $result, 'SessionInput not created correctly.');
    }