File tree 1 file changed +0
-21
lines changed
1 file changed +0
-21
lines changed Original file line number Diff line number Diff line change 2
2
3
3
namespace Enqueue \AsyncCommand \Tests ;
4
4
5
- use Enqueue \AsyncCommand \Commands ;
6
5
use Enqueue \AsyncCommand \RunCommandProcessor ;
7
- use Enqueue \Client \CommandSubscriberInterface ;
8
6
use Interop \Queue \Processor ;
9
7
use PHPUnit \Framework \TestCase ;
10
8
@@ -17,13 +15,6 @@ public function testShouldImplementProcessorInterface()
17
15
$ this ->assertTrue ($ rc ->implementsInterface (Processor::class));
18
16
}
19
17
20
- public function testShouldImplementCommandSubscriberInterfaceInterface ()
21
- {
22
- $ rc = new \ReflectionClass (RunCommandProcessor::class);
23
-
24
- $ this ->assertTrue ($ rc ->implementsInterface (CommandSubscriberInterface::class));
25
- }
26
-
27
18
public function testShouldBeFinal ()
28
19
{
29
20
$ rc = new \ReflectionClass (RunCommandProcessor::class);
@@ -37,16 +28,4 @@ public function testCouldBeConstructedWithProjectDirAsFirstArgument()
37
28
38
29
$ this ->assertAttributeSame ('aProjectDir ' , 'projectDir ' , $ processor );
39
30
}
40
-
41
- public function testShouldSubscribeOnRunCommand ()
42
- {
43
- $ subscription = RunCommandProcessor::getSubscribedCommand ();
44
-
45
- $ this ->assertSame ([
46
- 'command ' => Commands::RUN_COMMAND ,
47
- 'queue ' => Commands::RUN_COMMAND ,
48
- 'prefix_queue ' => false ,
49
- 'exclusive ' => true ,
50
- ], $ subscription );
51
- }
52
31
}
You can’t perform that action at this time.
0 commit comments