Add and improve test coverage

This commit is contained in:
Adrien Loison committed 2015-04-16 14:51:48 -07:00
1 parent 2074781852
commit 3f3461b002
12 files changed
+146 -2

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
<?php
namespace Box\Spout\Writer;
/**
* Class WriterFactoryTest
*
* @package Box\Spout\Writer
*/
class WriterFactoryTest extends \PHPUnit_Framework_TestCase
{
/**
* @expectedException \Box\Spout\Common\Exception\UnsupportedTypeException
*
* @return void
*/
public function testCreateWriterShouldThrowWithUnsupportedType()
{
WriterFactory::create('unsupportedType');
}
}