Remove @expectedException annotation

This commit is contained in:
Adrien Loison committed 2017-11-05 02:21:09 +01:00
1 parent 7274226b75
commit 3851e05f83
20 files changed
+173 -74

No files matched your search

+4 -2
View File
@@ -2,18 +2,20 @@
namespace Box\Spout\Writer;
use Box\Spout\Common\Exception\UnsupportedTypeException;
/**
* Class WriterFactoryTest
*/
class WriterFactoryTest extends \PHPUnit_Framework_TestCase
{
/**
* @expectedException \Box\Spout\Common\Exception\UnsupportedTypeException
*
* @return void
*/
public function testCreateWriterShouldThrowWithUnsupportedType()
{
$this->expectException(UnsupportedTypeException::class);
WriterFactory::create('unsupportedType');
}
}