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