public function testProvider() { $payload = new ProviderPayload(); $payload->setProviderId('001'); $method = $payload->getMethod(); $this->assertEquals($method, 'provider/001.json'); }
/** * {@inheritdoc} */ public function getPayload() { $payload = new ProviderPayload(); $providerId = \Config::get('tdteuropeana.providerId'); $payload->setProviderId($providerId); return $payload; }