public function testItCastsPropertiesProperly() { $this->assertInstanceOf(League::class, $this->player->league()); $this->assertEquals('Champions League III', $this->player->league()->name()); }