File tree 4 files changed +18
-0
lines changed
4 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,9 @@ public function testShouldImplementConsumerInterface()
25
25
$ this ->assertClassImplements (Consumer::class, MongodbConsumer::class);
26
26
}
27
27
28
+ /**
29
+ * @doesNotPerformAssertions
30
+ */
28
31
public function testCouldBeConstructedWithRequiredArguments ()
29
32
{
30
33
new MongodbConsumer ($ this ->createContextMock (), new MongodbDestination ('queue ' ));
@@ -39,6 +42,9 @@ public function testShouldReturnInstanceOfDestination()
39
42
$ this ->assertSame ($ destination , $ consumer ->getQueue ());
40
43
}
41
44
45
+ /**
46
+ * @doesNotPerformAssertions
47
+ */
42
48
public function testCouldCallAcknowledgedMethod ()
43
49
{
44
50
$ consumer = new MongodbConsumer ($ this ->createContextMock (), new MongodbDestination ('queue ' ));
Original file line number Diff line number Diff line change @@ -29,6 +29,9 @@ public function testShouldImplementContextInterface()
29
29
$ this ->assertClassImplements (Context::class, MongodbContext::class);
30
30
}
31
31
32
+ /**
33
+ * @doesNotPerformAssertions
34
+ */
32
35
public function testCouldBeConstructedWithRequiredArguments ()
33
36
{
34
37
new MongodbContext ($ this ->createClientMock ());
Original file line number Diff line number Diff line change @@ -23,6 +23,9 @@ public function testShouldImplementProducerInterface()
23
23
$ this ->assertClassImplements (Producer::class, MongodbProducer::class);
24
24
}
25
25
26
+ /**
27
+ * @doesNotPerformAssertions
28
+ */
26
29
public function testCouldBeConstructedWithRequiredArguments ()
27
30
{
28
31
new MongodbProducer ($ this ->createContextMock ());
Original file line number Diff line number Diff line change @@ -24,6 +24,9 @@ public function testShouldImplementSubscriptionConsumerInterface()
24
24
$ this ->assertTrue ($ rc ->implementsInterface (SubscriptionConsumer::class));
25
25
}
26
26
27
+ /**
28
+ * @doesNotPerformAssertions
29
+ */
27
30
public function testCouldBeConstructedWithMongodbContextAsFirstArgument ()
28
31
{
29
32
new MongodbSubscriptionConsumer ($ this ->createMongodbContextMock ());
@@ -65,6 +68,9 @@ public function testThrowsIfTrySubscribeAnotherConsumerToAlreadySubscribedQueue(
65
68
$ subscriptionConsumer ->subscribe ($ barConsumer , $ barCallback );
66
69
}
67
70
71
+ /**
72
+ * @doesNotPerformAssertions
73
+ */
68
74
public function testShouldAllowSubscribeSameConsumerAndCallbackSecondTime ()
69
75
{
70
76
$ subscriptionConsumer = new MongodbSubscriptionConsumer ($ this ->createMongodbContextMock ());
You can’t perform that action at this time.
0 commit comments