9
9
class CallInBackgroundTest extends TestCase
10
10
{
11
11
/** @test */
12
- public function it_works_without_before_and_after_parameters ()
12
+ public function it_works_without_optional_before_and_after_parameters ()
13
13
{
14
14
$ mock = m::mock ('alias:Illuminated\Helpers\Artisan\Command ' );
15
15
$ mock ->shouldReceive ('factory ' )->withArgs (['test command ' , null , null ])->once ()->andReturnSelf ();
@@ -19,7 +19,7 @@ public function it_works_without_before_and_after_parameters()
19
19
}
20
20
21
21
/** @test */
22
- public function it_works_with_only_before_parameter ()
22
+ public function it_works_with_optional_before_parameter ()
23
23
{
24
24
$ mock = m::mock ('alias:Illuminated\Helpers\Artisan\Command ' );
25
25
$ mock ->shouldReceive ('factory ' )->withArgs (['test command ' , 'before command ' , null ])->once ()->andReturnSelf ();
@@ -29,7 +29,7 @@ public function it_works_with_only_before_parameter()
29
29
}
30
30
31
31
/** @test */
32
- public function it_works_with_only_after_parameter ()
32
+ public function it_works_with_optional_after_parameter ()
33
33
{
34
34
$ mock = m::mock ('alias:Illuminated\Helpers\Artisan\Command ' );
35
35
$ mock ->shouldReceive ('factory ' )->withArgs (['test command ' , null , 'after command ' ])->once ()->andReturnSelf ();
@@ -39,7 +39,7 @@ public function it_works_with_only_after_parameter()
39
39
}
40
40
41
41
/** @test */
42
- public function it_works_with_before_and_after_parameters_together ()
42
+ public function it_works_with_optional_before_and_after_parameters_together ()
43
43
{
44
44
$ mock = m::mock ('alias:Illuminated\Helpers\Artisan\Command ' );
45
45
$ mock ->shouldReceive ('factory ' )->withArgs (['test command ' , 'before ' , 'after ' ])->once ()->andReturnSelf ();
0 commit comments