Move ReaderFactory into Common/Creator

This commit is contained in:
Adrien Loison authored and Adrien Loison committed 2018-06-03 21:13:38 +02:00
1 parent d25a4ebd6d
commit 1b64a06fbe
4 files changed
+90 -77

No files matched your search

@@ -0,0 +1,22 @@
<?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');
}
}