99class CallInBackgroundTest extends TestCase
1010{
1111 /** @test */
12- public function it_works_without_before_and_after_parameters ()
12+ public function it_works_without_optional_before_and_after_parameters ()
1313 {
1414 $ mock = m::mock ('alias:Illuminated\Helpers\Artisan\Command ' );
1515 $ mock ->shouldReceive ('factory ' )->withArgs (['test command ' , null , null ])->once ()->andReturnSelf ();
@@ -19,7 +19,7 @@ public function it_works_without_before_and_after_parameters()
1919 }
2020
2121 /** @test */
22- public function it_works_with_only_before_parameter ()
22+ public function it_works_with_optional_before_parameter ()
2323 {
2424 $ mock = m::mock ('alias:Illuminated\Helpers\Artisan\Command ' );
2525 $ mock ->shouldReceive ('factory ' )->withArgs (['test command ' , 'before command ' , null ])->once ()->andReturnSelf ();
@@ -29,7 +29,7 @@ public function it_works_with_only_before_parameter()
2929 }
3030
3131 /** @test */
32- public function it_works_with_only_after_parameter ()
32+ public function it_works_with_optional_after_parameter ()
3333 {
3434 $ mock = m::mock ('alias:Illuminated\Helpers\Artisan\Command ' );
3535 $ mock ->shouldReceive ('factory ' )->withArgs (['test command ' , null , 'after command ' ])->once ()->andReturnSelf ();
@@ -39,7 +39,7 @@ public function it_works_with_only_after_parameter()
3939 }
4040
4141 /** @test */
42- public function it_works_with_before_and_after_parameters_together ()
42+ public function it_works_with_optional_before_and_after_parameters_together ()
4343 {
4444 $ mock = m::mock ('alias:Illuminated\Helpers\Artisan\Command ' );
4545 $ mock ->shouldReceive ('factory ' )->withArgs (['test command ' , 'before ' , 'after ' ])->once ()->andReturnSelf ();
0 commit comments