File tree Expand file tree Collapse file tree 5 files changed +0
-50
lines changed Expand file tree Collapse file tree 5 files changed +0
-50
lines changed Original file line number Diff line number Diff line change @@ -22,14 +22,6 @@ public function testShouldImplementConsumerInterface()
22
22
$ this ->assertClassImplements (Consumer::class, RedisConsumer::class);
23
23
}
24
24
25
- /**
26
- * @doesNotPerformAssertions
27
- */
28
- public function testCouldBeConstructedWithContextAndDestinationAndPreFetchCountAsArguments ()
29
- {
30
- new RedisConsumer ($ this ->createContextMock (), new RedisDestination ('aQueue ' ));
31
- }
32
-
33
25
public function testShouldReturnDestinationSetInConstructorOnGetQueue ()
34
26
{
35
27
$ destination = new RedisDestination ('aQueue ' );
Original file line number Diff line number Diff line change @@ -25,24 +25,6 @@ public function testShouldImplementContextInterface()
25
25
$ this ->assertClassImplements (Context::class, RedisContext::class);
26
26
}
27
27
28
- /**
29
- * @doesNotPerformAssertions
30
- */
31
- public function testCouldBeConstructedWithRedisAsFirstArgument ()
32
- {
33
- new RedisContext ($ this ->createRedisMock (), 300 );
34
- }
35
-
36
- /**
37
- * @doesNotPerformAssertions
38
- */
39
- public function testCouldBeConstructedWithRedisFactoryAsFirstArgument ()
40
- {
41
- new RedisContext (function () {
42
- return $ this ->createRedisMock ();
43
- }, 300 );
44
- }
45
-
46
28
public function testThrowIfNeitherRedisNorFactoryGiven ()
47
29
{
48
30
$ this ->expectException (\InvalidArgumentException::class);
Original file line number Diff line number Diff line change @@ -25,14 +25,6 @@ public function testShouldImplementProducerInterface()
25
25
$ this ->assertClassImplements (Producer::class, RedisProducer::class);
26
26
}
27
27
28
- /**
29
- * @doesNotPerformAssertions
30
- */
31
- public function testCouldBeConstructedWithRedisAsFirstArgument ()
32
- {
33
- new RedisProducer ($ this ->createContextMock ());
34
- }
35
-
36
28
public function testThrowIfDestinationNotRedisDestinationOnSend ()
37
29
{
38
30
$ producer = new RedisProducer ($ this ->createContextMock ());
Original file line number Diff line number Diff line change @@ -22,14 +22,6 @@ public function testShouldImplementSubscriptionConsumerInterface()
22
22
$ this ->assertTrue ($ rc ->implementsInterface (SubscriptionConsumer::class));
23
23
}
24
24
25
- /**
26
- * @doesNotPerformAssertions
27
- */
28
- public function testCouldBeConstructedWithRedisContextAsFirstArgument ()
29
- {
30
- new RedisSubscriptionConsumer ($ this ->createRedisContextMock ());
31
- }
32
-
33
25
public function testShouldAddConsumerAndCallbackToSubscribersPropertyOnSubscribe ()
34
26
{
35
27
$ subscriptionConsumer = new RedisSubscriptionConsumer ($ this ->createRedisContextMock ());
Original file line number Diff line number Diff line change @@ -20,14 +20,6 @@ public function testShouldImplementSerializerInterface()
20
20
$ this ->assertClassImplements (Serializer::class, JsonSerializer::class);
21
21
}
22
22
23
- /**
24
- * @doesNotPerformAssertions
25
- */
26
- public function testCouldBeConstructedWithoutAnyArguments ()
27
- {
28
- new JsonSerializer ();
29
- }
30
-
31
23
public function testShouldConvertMessageToJsonString ()
32
24
{
33
25
$ serializer = new JsonSerializer ();
You can’t perform that action at this time.
0 commit comments