Ejemplo n.º 1
0
 /**
  * @test
  */
 public function setMappedIdCompositePartFieldNameValidateResult()
 {
     $fieldNames = array('mappedField1' => 'mappedFieldData1', 'mappedField2' => 'mappedFieldData2');
     $result = $this->classMetadata->setMappedIdCompositePartFieldName($fieldNames);
     $this->assertSame($this->classMetadata, $result);
     $this->assertEquals($fieldNames, $this->classMetadata->getMappedIdCompositePartFieldName());
 }