public function testOwner() { $this->assertNull($this->dashboard->getOwner()); $value = $this->getMock('Oro\\Bundle\\UserBundle\\Entity\\User'); $this->assertEquals($this->dashboard, $this->dashboard->setOwner($value)); $this->assertEquals($value, $this->dashboard->getOwner()); }