public function setUp()
 {
     parent::setUp();
     /**
      * The user name (Sender ID) and password given below are not valid for
      * either the live or any of the test/dev gateways. If you want to run
      * this test suite against actual servers, please contact the relevant
      * agency (HMRC / Companies House / etc.) and apply for valid credentials.
      */
     $this->gatewayUserID = 'XMLGatewayTestUserID';
     $this->gatewayUserPassword = '******';
     $this->gatewayVendorID = 'GatewaySubmitter';
     $this->gatewaySoftware = 'GivingSoft';
     $this->gatewaySoftVersion = '1.2.0';
     /**
      * An authorised official for testing ...
      */
     $this->officer = new AuthorisedOfficial(null, 'Bob', 'Smith', '01234 567890', 'AB12 3CD');
     /**
      * A claiming organisation
      */
     $this->claimant = new ClaimingOrganisation('A Fundraising Organisation', 'AB12345', 'CCEW', '123456');
     /**
      * A test claim
      */
     $this->claim = array(array('donation_date' => '2013-04-07', 'title' => 'Mrs', 'first_name' => 'Mary', 'last_name' => 'Smith', 'house_no' => '100', 'postcode' => 'AB23 4CD', 'overseas' => false, 'amount' => 500.0, 'sponsored' => true), array('donation_date' => '2013-04-15', 'title' => null, 'first_name' => 'Jim', 'last_name' => 'Harris', 'house_no' => '25 High St Anytown Foreignshire', 'postcode' => null, 'overseas' => true, 'amount' => 10.0), array('donation_date' => '2013-04-17', 'title' => null, 'first_name' => 'Bill', 'last_name' => 'Hill-Jones', 'house_no' => '1', 'postcode' => 'BA23 9CD', 'overseas' => false, 'amount' => 2.5), array('donation_date' => '2013-04-20', 'title' => null, 'first_name' => 'Bob', 'last_name' => 'Hill-Jones', 'house_no' => '1', 'postcode' => 'BA23 9CD', 'overseas' => false, 'amount' => 12.0), array('donation_date' => '2013-04-20', 'amount' => 1000.0, 'aggregation' => 'Aggregated donation of 200 x �5 payments from members'));
     /**
      * The following call sets up the service object used to interact with the
      * Government Gateway. Setting parameter 4 to null will force the test to
      * use the httpClient created on the fly within the GovTalk class and may
      * also effectively disable mockability.
      * Set parameter 5 to a valid path in order to log messages
      */
     $this->gaService = $this->setUpService();
 }
 public function setUp()
 {
     parent::setUp();
     $this->claimant = new ClaimingOrganisation('A Charitible Crowd', 'AB12345', 'CCEW', '2584789658');
 }
 public function setUp()
 {
     parent::setUp();
     $this->individual = new Individual('Mr', 'Rex', 'Muck', '077 1234 5678', '3', 'SW1A 1AA');
     $this->foreign = new Individual('Ds', 'Johannes', 'Doper', '011 452 1256', '27', '', true);
 }
 public function setUp()
 {
     parent::setUp();
     $this->officer = new AuthorisedOfficial('Mr', 'Rex', 'Muck', '077 1234 5678', 'SW1A 1AA');
 }