public function testCreateCustomer() { $client = $this->getClient(); $customer = new Customer(); $customer->setEmail("paul+" . time() . substr(uniqid(), 0, 3) . "@vouchedfor.co.uk"); $customer->setGivenName("Paul"); $customer->setFamilyName("Pamment"); $customer->setAddressLine1("Flat 3G"); $customer->setCity("London"); $customer->setPostalCode("E2 8ET"); $customer->setCountryCode("GB"); $customer = $client->createCustomer($customer); $this->assertNotEquals(null, $customer->getId()); $this->assertNotEquals(null, $customer->getCreatedAt()); }