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