public function testParseExceptionOnInvalidContentType() { $inputArray = array('ContentType' => array(), 'mainLanguageCode' => 'eng-US', 'Section' => array('_href' => '/content/sections/4'), 'remoteId' => 'remoteId12345678', 'fields' => array('field' => array(array('fieldDefinitionIdentifier' => 'name', 'fieldValue' => array())))); $userGroupCreate = $this->getParser(); $userGroupCreate->parse($inputArray, $this->getParsingDispatcherMock()); }