コード例 #1
0
ファイル: PropertyTest.php プロジェクト: qa-tools/qa-tools
 public function testGetAnnotations()
 {
     $expected = 'OK';
     $this->annotationManager->shouldReceive('getPropertyAnnotations')->with($this->property, null, 'A')->once()->andReturn($expected);
     $this->assertEquals($expected, $this->property->getAnnotations('A'));
 }