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

testParseExceptionOnMissingEmail() public method

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