/** @test */ function it_can_create_a_creditor() { $creditor = $this->get_basic_creditor(); $creditor = $this->api->createCreditor($creditor); $this->assertNotNull($creditor->getId()); $this->assertNotNull($creditor->getCreatedAt()); return $creditor; }