Skip to content

Commit 70f53f2

Browse files
authored
Create README.md
1 parent 77a8794 commit 70f53f2

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
### Amtgard PHPUnit Extensions
2+
3+
Adds `self::assertThrows(string $throwableClass, callable $callable)` and `self::assertDoesNotThrow(callable $callable)` assertions.
4+
5+
#### assertThrows()
6+
Takes a throwable classname. The callable must throw the exception and the exception class must match.
7+
8+
#### assertDoesNotThrow()
9+
The callable must not throw.

0 commit comments

Comments
 (0)