mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-12-23 03:26:10 +01:00

[TASK] Switch to expectException

This commit is contained in:
Oliver Klee 2017-09-07 12:30:59 +02:00
parent 1c1f846858
commit 7b9511edaa

View file

@ -57,10 +57,11 @@ class FileUtilityTest extends \TYPO3\CMS\Core\Tests\UnitTestCase
/**
* @test
* @expectedException \InvalidArgumentException
*/
public function concatenateWithEmptyTargetFileNameThrowsException()
{
$this->expectException(\InvalidArgumentException::class);
$this->subject->concatenate('', ['foo.txt']);
}