/** * @see ExtraParametersEntity::setInstallmentsType() */ public function testSetInstallmentsType() { $installmentsType = rand(1, 3); $rs = $this->object->setInstallmentsType($installmentsType); $this->assertInstanceOf('\\PayU\\Entity\\Transaction\\ExtraParametersEntity', $rs); $rs = $this->object->getInstallmentsType(); $this->assertInternalType('int', $rs); $this->assertEquals($installmentsType, $rs); }