diff --git a/src/Exception/FileTypeNotSupportedException.php b/src/Exception/FileTypeNotSupportedException.php deleted file mode 100644 index 6582724..0000000 --- a/src/Exception/FileTypeNotSupportedException.php +++ /dev/null @@ -1,34 +0,0 @@ -assertTrue($this->getTestedClass()->isSubclassOf(RuntimeException::class)); - } - - public function testCanBeThrownWithOnlyTheNameOfTheInvalidFileType(): void - { - $this->expectException(FileTypeNotSupportedException::class); - $this->expectExceptionMessage('The file-type `foo` is not supported.'); - - throw new FileTypeNotSupportedException('foo'); - } - - public function testCanBeThrownWithAListOfSupportedTypes(): void - { - $this->expectException(FileTypeNotSupportedException::class); - $this->expectExceptionMessage('The file-type `foo` is not supported. Supported types: bar; baz'); - - throw new FileTypeNotSupportedException('foo', ['bar', 'baz']); - } -}