Skip to content

Commit

Permalink
Add exception message assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
gapple committed Jan 3, 2024
1 parent 7285a44 commit 2beaae7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/TupleTraitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ class TupleTraitTest extends TestCase
public function testSetInvalidParameterValue(): void
{
$this->expectException(\InvalidArgumentException::class);
$this->expectExceptionMessage('Tuple parameters must be an object');

$item = new Item('test');

Expand Down

0 comments on commit 2beaae7

Please sign in to comment.