eZ\Publish\Core\REST\Server\Tests\Input\Parser\UserCreateTest::testParseExceptionOnMissingLogin PHP Method

testParseExceptionOnMissingLogin() public method

Test UserCreate parser throwing exception on missing login.
    public function testParseExceptionOnMissingLogin()
    {
        $inputArray = array('ContentType' => array('_href' => '/content/types/4'), 'mainLanguageCode' => 'eng-US', 'Section' => array('_href' => '/content/sections/4'), 'remoteId' => 'remoteId12345678', 'email' => '[email protected]', 'password' => 'password', 'enabled' => 'true', 'fields' => array('field' => array(array('fieldDefinitionIdentifier' => 'name', 'fieldValue' => array()))));
        $userCreate = $this->getParser();
        $userCreate->parse($inputArray, $this->getParsingDispatcherMock());
    }