assertInstanceOf(\Telnyx\TelnyxObject::class, $result); $this->assertNotNull($result['id']); } public function testTraitWithId() { $result = DummyRetrieveWithId::retrieve(self::TEST_RESOURCE_ID); $this->assertInstanceOf(\Telnyx\TelnyxObject::class, $result); $this->assertNotNull($result['id']); $this->assertNotNull($result['call_control_id']); } }