예제 #1
0
 public function testContact()
 {
     $this->assertNull($this->comment->getContact());
     $value = $this->getMockBuilder('OroCRM\\Bundle\\ContactBundle\\Entity\\Contact')->disableOriginalConstructor()->getMock();
     $this->assertEquals($this->comment, $this->comment->setContact($value));
     $this->assertEquals($value, $this->comment->getContact());
 }