/** * {@inheritDoc} */ public function getParams() { return array('sourceFQDN' => $this->postPersistEvent->getSourceFQDN(), 'sourceId' => $this->postPersistEvent->getSourceId(), 'source' => $this->postPersistEvent->getSource(), 'persistedEvents' => $this->postPersistEvent->getPersistedEvents()); }
public function testGetParams() { $check = array('sourceFQDN' => $this->postPersistEvent->getSourceFQDN(), 'sourceId' => $this->postPersistEvent->getSourceId(), 'source' => $this->postPersistEvent->getSource(), 'persistedEvents' => $this->postPersistEvent->getPersistedEvents()); $this->assertEquals($check, $this->postPersistEventDecorator->getParams()); }