public function testKlantcode() { $this->config['klantcode'] = "123456"; $targetPay = new TargetPay(null, $this->config); $this->assertEquals("123456", $targetPay->getKlantcode()); $targetPay->setKlantcode("123"); $this->assertNotEquals("123456", $targetPay->getKlantcode()); }
/** * @expectedException TPWeb\TargetPay\Exception\TargetPayException */ public function testSetKlantcode() { $targetPay = new TargetPay(null, $this->config); $targetPay->setKlantcode(null); }