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

testParseExceptionOnMissingNames() public method

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