assertObjectHasProperty('rut', $broker); $this->assertObjectHasProperty('digit', $broker); $this->assertObjectHasProperty('name', $broker); } public function testRelations(): void { $broker = new Broker(); $this->assertObjectHasMethod('data', $broker); $this->assertObjectHasMethod('contracts', $broker); } }