eZ\Publish\Core\REST\Server\Tests\Input\Parser\ObjectStateGroupCreateTest::testParseExceptionOnMissingIdentifier PHP Method

testParseExceptionOnMissingIdentifier() public method

Test ObjectStateGroupCreate parser throwing exception on missing identifier.
    public function testParseExceptionOnMissingIdentifier()
    {
        $inputArray = array('defaultLanguageCode' => 'eng-GB', 'names' => array('value' => array(array('_languageCode' => 'eng-GB', '#text' => 'Test group'))), 'descriptions' => array('value' => array(array('_languageCode' => 'eng-GB', '#text' => 'Test group description'))));
        $objectStateGroupCreate = $this->getParser();
        $objectStateGroupCreate->parse($inputArray, $this->getParsingDispatcherMock());
    }