public function testAuthorAndUpdaterStoring() { $user = $this->getMock('Oro\\Bundle\\UserBundle\\Entity\\User'); $this->tag->setOwner($user); $this->assertEquals($user, $this->tag->getOwner()); }