public function testSetValidOrientation() { $exporter = $this->getMockForAbstractClass(AbstractPhantomExporter::class); $exporter->setOrientation('landscape'); $this->assertEquals('landscape', $exporter->getOrientation()); }