public function testGetOwner() { $document = $this->collection->createDocument(array('param' => 42)); $document->attachBehavior('someBehavior', new SomeBehavior()); $this->assertEquals(42, $document->returnOwnerParam('param')); }