/** * @dataProvider \Bnowak\CardGame\Tests\TestDataProvider::getCardsDataArray */ public function testGetFigure(string $figure, string $suit = null) { $card = new Card($figure, $suit); $this->assertSame((string) $figure, $card->getFigure()); }