Commit 3ab6ec0 1 parent dbcebbc commit 3ab6ec0 Copy full SHA for 3ab6ec0
File tree 1 file changed +7
-1
lines changed
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -37,13 +37,19 @@ public function is_any_of_returns_true_when_passing_the_same_value_but_separate_
37
37
}
38
38
39
39
/** @test */
40
- public function is_any_of_returns_true_when_passing_multiple_values_of_which_one_equals_the ()
40
+ public function is_any_of_returns_true_when_passing_multiple_values_of_which_one_equals_the_base_enum ()
41
41
{
42
42
$ one = Sample123::create (1 );
43
43
44
44
$ this ->assertTrue ($ one ->isAnyOf (Sample123::ONE (), Sample123::TWO ()));
45
45
}
46
46
47
+ /** @test */
48
+ public function is_any_of_returns_false_when_passing_nothing ()
49
+ {
50
+ $ this ->assertFalse (Sample123::THREE ()->isAnyOf ());
51
+ }
52
+
47
53
/** @test */
48
54
public function is_none_of_returns_true_when_passing_nothing ()
49
55
{
You can’t perform that action at this time.
0 commit comments