eZ\Publish\Core\Repository\Tests\Service\Mock\ContentTest::testCreateContentNonRedundantFieldSet2 PHP Method

testCreateContentNonRedundantFieldSet2() public method

Testing multiple languages with multiple translatable fields with empty default value.
public testCreateContentNonRedundantFieldSet2 ( $mainLanguageCode, $structFields, $spiFields )
    public function testCreateContentNonRedundantFieldSet2($mainLanguageCode, $structFields, $spiFields)
    {
        $fieldDefinitions = array(new FieldDefinition(array('id' => 'fieldDefinitionId1', 'fieldTypeIdentifier' => 'fieldTypeIdentifier', 'isTranslatable' => true, 'identifier' => 'identifier1', 'isRequired' => false, 'defaultValue' => self::EMPTY_FIELD_VALUE)), new FieldDefinition(array('id' => 'fieldDefinitionId2', 'fieldTypeIdentifier' => 'fieldTypeIdentifier', 'isTranslatable' => true, 'identifier' => 'identifier2', 'isRequired' => false, 'defaultValue' => self::EMPTY_FIELD_VALUE)));
        $this->assertForTestCreateContentNonRedundantFieldSet($mainLanguageCode, $structFields, $spiFields, $fieldDefinitions);
    }
ContentTest