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

testParseExceptionOnInvalidSection() public method

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