20 lines
388 B
PHP
20 lines
388 B
PHP
<?php
|
|
|
|
namespace Box\Spout\Reader;
|
|
|
|
/**
|
|
* Class ReaderFactoryTest
|
|
*/
|
|
class ReaderFactoryTest extends \PHPUnit_Framework_TestCase
|
|
{
|
|
/**
|
|
* @expectedException \Box\Spout\Common\Exception\UnsupportedTypeException
|
|
*
|
|
* @return void
|
|
*/
|
|
public function testCreateReaderShouldThrowWithUnsupportedType()
|
|
{
|
|
ReaderFactory::create('unsupportedType');
|
|
}
|
|
}
|