spout/tests/Spout/Reader/ReaderFactoryTest.php
2017-11-05 02:21:09 +01:00

22 lines
426 B
PHP

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