Пример #1
0
 /** @depends it_can_create_a_customer */
 function test_it_can_update_a_customer(Customer $customer)
 {
     $customer->setFullName('Jane', 'Smith');
     $customer->setEmail('*****@*****.**');
     $jane = $this->api->updateCustomer($customer);
     $this->assertEquals('Jane', $jane->getForename());
     $this->assertEquals('Smith', $jane->getSurname());
     $this->assertEquals('*****@*****.**', $jane->getEmail());
 }