public testNewContentCreateStructValues ( array $data ) | ||
$data | array |
public function testNewContentCreateStructValues(array $data)
{
$contentType = $data['contentType'];
$contentCreateStruct = $data['contentCreateStruct'];
$expectedValues = array('fields' => array(), 'contentType' => $contentType, 'sectionId' => null, 'ownerId' => null, 'alwaysAvailable' => null, 'remoteId' => null, 'mainLanguageCode' => 'eng-GB', 'modificationDate' => null);
$this->assertPropertiesCorrect($expectedValues, $contentCreateStruct);
}