/** @test */ function it_can_set_the_fullname() { $customer = new Customer(); $return = $customer->setFullName('John', 'Doe'); $this->assertEquals('John', $customer->getGivenName()); $this->assertEquals('Doe', $customer->getFamilyName()); $this->assertSame($customer, $return); }