File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020 */
2121final class WhenWhenNotModelTest extends LiveModelTestCase
2222{
23- public function testWhenWithSingleCallback (): void
23+ public function testWhenWithTrueCondition (): void
2424 {
2525 $ secondaryData = [
2626 [
@@ -49,7 +49,7 @@ public function testWhenWithSingleCallback(): void
4949 $ this ->assertSame ('bar ' , $ result [1 ]->key );
5050 }
5151
52- public function testWhenWithBothCallbacks (): void
52+ public function testWhenWithFalseConditionAndDefaultCallback (): void
5353 {
5454 $ secondaryData = [
5555 [
@@ -80,7 +80,7 @@ public function testWhenWithBothCallbacks(): void
8080 $ this ->assertSame ('bar ' , $ result [1 ]->key );
8181 }
8282
83- public function testWhenNotWithSingleCallback (): void
83+ public function testWhenNotWithFalseCondition (): void
8484 {
8585 $ secondaryData = [
8686 [
@@ -109,7 +109,7 @@ public function testWhenNotWithSingleCallback(): void
109109 $ this ->assertSame ('foobaz ' , $ result [0 ]->value );
110110 }
111111
112- public function testWhenNotWithBothCallbacks (): void
112+ public function testWhenNotWithTrueConditionAndDefaultCallback (): void
113113 {
114114 $ secondaryData = [
115115 [
You can’t perform that action at this time.
0 commit comments