spout/tests/Spout/Reader/ReaderFactoryTest.php
2017-11-27 00:24:13 +01:00

23 lines
439 B
PHP

<?php
namespace Box\Spout\Reader;
use Box\Spout\Common\Exception\UnsupportedTypeException;
use PHPUnit\Framework\TestCase;
/**
* Class ReaderFactoryTest
*/
class ReaderFactoryTest extends TestCase
{
/**
* @return void
*/
public function testCreateReaderShouldThrowWithUnsupportedType()
{
$this->expectException(UnsupportedTypeException::class);
ReaderFactory::create('unsupportedType');
}
}