public function testCaller() { $caller = new Entry(); $caller->setName('testCaller'); $this->entry->setCaller($caller); $this->assertSame('testCaller', $this->entry->getCaller()->getName()); }