This commit is contained in:
parent
620a3d4c69
commit
0692ca97cd
|
@ -113,7 +113,7 @@ class ClassMetadataTest extends \PHPUnit_Framework_TestCase
|
||||||
$this->metadata->addPropertyConstraint('firstName', new ConstraintA());
|
$this->metadata->addPropertyConstraint('firstName', new ConstraintA());
|
||||||
|
|
||||||
$this->assertTrue($this->metadata->hasMemberMetadatas('firstName'));
|
$this->assertTrue($this->metadata->hasMemberMetadatas('firstName'));
|
||||||
$this->assertFalse($this->metadata->hasMemberMetadatas('non_existant_field'));
|
$this->assertFalse($this->metadata->hasMemberMetadatas('non_existent_field'));
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testMergeConstraintsKeepsPrivateMembersSeparate()
|
public function testMergeConstraintsKeepsPrivateMembersSeparate()
|
||||||
|
|
|
@ -21,7 +21,7 @@ ruby: |
|
||||||
test: Leading Document Separator
|
test: Leading Document Separator
|
||||||
todo: true
|
todo: true
|
||||||
brief: >
|
brief: >
|
||||||
You can explicity give an opening
|
You can explicitly give an opening
|
||||||
document separator to your YAML stream.
|
document separator to your YAML stream.
|
||||||
yaml: |
|
yaml: |
|
||||||
---
|
---
|
||||||
|
|
Reference in New Issue