eZ\Publish\Core\REST\Server\Tests\Input\Parser\UserGroupCreateTest::testParseExceptionOnInvalidFields PHP Method

testParseExceptionOnInvalidFields() public method

Test UserGroupCreate parser throwing exception on invalid fields data.
    public function testParseExceptionOnInvalidFields()
    {
        $inputArray = array('ContentType' => array('_href' => '/content/types/3'), 'mainLanguageCode' => 'eng-US', 'Section' => array('_href' => '/content/sections/4'), 'remoteId' => 'remoteId12345678');
        $userGroupCreate = $this->getParser();
        $userGroupCreate->parse($inputArray, $this->getParsingDispatcherMock());
    }