We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
meets
satisfies
1 parent 9e88720 commit ea724b0Copy full SHA for ea724b0
tests/HasSpecificationsTest.php
@@ -21,7 +21,7 @@ public function test_it_should_pass_the_candidate_to_the_specification(): void
21
$candidate = new Candidate();
22
23
// Act + Assert
24
- $this->assertTrue($candidate->meets(new PositiveSpecification()));
25
- $this->assertFalse($candidate->meets(new NegativeSpecification()));
+ $this->assertTrue($candidate->satisfies(new PositiveSpecification()));
+ $this->assertFalse($candidate->satisfies(new NegativeSpecification()));
26
}
27
0 commit comments