public function testGettersAndSetters() { $this->genericConfiguration->setAccessKey('ABC'); $this->genericConfiguration->setSecretKey('DEF'); $this->genericConfiguration->setAssociateTag('GHI'); $this->assertSame('ABC', $this->genericConfiguration->getAccessKey()); $this->assertSame('DEF', $this->genericConfiguration->getSecretKey()); $this->assertSame('GHI', $this->genericConfiguration->getAssociateTag()); }
public function testGettersAndSetters() { $object = new GenericConfiguration(); $object->setAccessKey('ABC'); $object->setSecretKey('DEF'); $object->setAssociateTag('GHI'); $object->setResponseTransformer($a = new XmlToDomDocument()); $object->setRequest($b = new GuzzleRequest($this->prophesize('\\GuzzleHttp\\ClientInterface')->reveal())); $this->assertSame('ABC', $object->getAccessKey()); $this->assertSame('DEF', $object->getSecretKey()); $this->assertSame('GHI', $object->getAssociateTag()); $this->assertSame($a, $object->getResponseTransformer()); $this->assertSame($b, $object->getRequest()); }