/** * @dataProvider dataTypes * @covers ::isLandscape * @covers ::isPortrait * @covers ::isSquare */ public function testTypes($width, $height, $isLandscape, $isPortrait, $isSquare) { $item = new Item($width, $height); $this->assertSame($isPortrait, $item->isPortrait()); $this->assertSame($isLandscape, $item->isLandscape()); $this->assertSame($isSquare, $item->isSquare()); }