spout/tests/Spout/Reader/Common/Creator/ReaderFactoryTest.php
2018-06-03 21:13:38 +02:00

23 lines
454 B
PHP

<?php
namespace Box\Spout\Reader\Common\Creator;
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');
}
}