@@ -31,7 +31,9 @@ public function testGetTopics()
31
31
public function testGetTopicsNumeric ()
32
32
{
33
33
$ this ->expectException (\LogicException::class);
34
- $ this ->expectExceptionMessage ('Service method specified in the definition of topic "customerDeletedNumbers" is not av ' );
34
+ $ this ->expectExceptionMessage (
35
+ 'Service method specified in the definition of topic "customerDeletedNumbers" is not av '
36
+ );
35
37
36
38
$ this ->getConfigInstance ([__DIR__ . '/_files/valid_communication_numeric.xml ' ])->getTopics ();
37
39
}
@@ -92,7 +94,9 @@ public function testGetTopicInvalidName()
92
94
public function testGetTopicsExceptionMissingRequest ()
93
95
{
94
96
$ this ->expectException (\LogicException::class);
95
- $ this ->expectExceptionMessage ('Either "request" or "schema" attribute must be specified for topic "customerUpdated" ' );
97
+ $ this ->expectExceptionMessage (
98
+ 'Either "request" or "schema" attribute must be specified for topic "customerUpdated" '
99
+ );
96
100
97
101
$ this ->getConfigInstance ([__DIR__ . '/_files/communication_missing_request.xml ' ])->getTopics ();
98
102
}
@@ -122,7 +126,9 @@ public function testGetTopicsExceptionNotExistingService()
122
126
public function testGetTopicsExceptionNoAttributes ()
123
127
{
124
128
$ this ->expectException (\LogicException::class);
125
- $ this ->expectExceptionMessage ('Either "request" or "schema" attribute must be specified for topic "customerRetrieved" ' );
129
+ $ this ->expectExceptionMessage (
130
+ 'Either "request" or "schema" attribute must be specified for topic "customerRetrieved" '
131
+ );
126
132
127
133
$ this ->getConfigInstance ([__DIR__ . '/_files/communication_no_attributes.xml ' ])->getTopics ();
128
134
}
@@ -132,7 +138,9 @@ public function testGetTopicsExceptionNoAttributes()
132
138
public function testGetTopicsExceptionInvalidResponseSchema ()
133
139
{
134
140
$ this ->expectException (\LogicException::class);
135
- $ this ->expectExceptionMessage ('Response schema definition for topic "customerUpdated" should reference existing ' );
141
+ $ this ->expectExceptionMessage (
142
+ 'Response schema definition for topic "customerUpdated" should reference existing '
143
+ );
136
144
137
145
$ this ->getConfigInstance ([__DIR__ . '/_files/communication_response_not_existing_service.xml ' ])->getTopics ();
138
146
}
@@ -142,7 +150,9 @@ public function testGetTopicsExceptionInvalidResponseSchema()
142
150
public function testGetTopicsExceptionInvalidRequestSchema ()
143
151
{
144
152
$ this ->expectException (\LogicException::class);
145
- $ this ->expectExceptionMessage ('Request schema definition for topic "customerUpdated" should reference existing ' );
153
+ $ this ->expectExceptionMessage (
154
+ 'Request schema definition for topic "customerUpdated" should reference existing '
155
+ );
146
156
147
157
$ this ->getConfigInstance ([__DIR__ . '/_files/communication_request_not_existing_service.xml ' ])->getTopics ();
148
158
}
@@ -152,7 +162,9 @@ public function testGetTopicsExceptionInvalidRequestSchema()
152
162
public function testGetTopicsExceptionMultipleHandlersSynchronousMode ()
153
163
{
154
164
$ this ->expectException (\LogicException::class);
155
- $ this ->expectExceptionMessage ('Topic "customerDeleted" is configured for synchronous requests, that is why it must ' );
165
+ $ this ->expectExceptionMessage (
166
+ 'Topic "customerDeleted" is configured for synchronous requests, that is why it must '
167
+ );
156
168
157
169
$ this ->getConfigInstance ([__DIR__ . '/_files/communication_multiple_handlers_synchronous_mode.xml ' ])->getTopics ();
158
170
}
@@ -162,7 +174,9 @@ public function testGetTopicsExceptionMultipleHandlersSynchronousMode()
162
174
public function testGetTopicsExceptionInvalidHandler ()
163
175
{
164
176
$ this ->expectException (\LogicException::class);
165
- $ this ->expectExceptionMessage ('Service method specified in the definition of handler "customHandler" for topic "custo ' );
177
+ $ this ->expectExceptionMessage (
178
+ 'Service method specified in the definition of handler "customHandler" for topic "custo '
179
+ );
166
180
167
181
$ this ->getConfigInstance ([__DIR__ . '/_files/communication_not_existing_handler_method.xml ' ])->getTopics ();
168
182
}
@@ -172,7 +186,9 @@ public function testGetTopicsExceptionInvalidHandler()
172
186
public function testGetTopicsExceptionInvalidTopicNameInEnv ()
173
187
{
174
188
$ this ->expectException (\LogicException::class);
175
- $ this ->expectExceptionMessage ('Topic name "customerAdded" and attribute "name" = "customerCreated" must be equal ' );
189
+ $ this ->expectExceptionMessage (
190
+ 'Topic name "customerAdded" and attribute "name" = "customerCreated" must be equal '
191
+ );
176
192
177
193
$ this ->getConfigInstance (
178
194
[__DIR__ . '/_files/valid_communication.xml ' ],
@@ -224,7 +240,9 @@ public function testGetTopicsExceptionTopicWithExcessiveKeysInEnv()
224
240
public function testGetTopicsExceptionTopicWithNonMatchedNameInEnv ()
225
241
{
226
242
$ this ->expectException (\LogicException::class);
227
- $ this ->expectExceptionMessage ('Topic name "customerDeleted" and attribute "name" = "customerRemoved" must be equal ' );
243
+ $ this ->expectExceptionMessage (
244
+ 'Topic name "customerDeleted" and attribute "name" = "customerRemoved" must be equal '
245
+ );
228
246
229
247
$ this ->getConfigInstance (
230
248
[__DIR__ . '/_files/valid_communication.xml ' ],
@@ -237,7 +255,9 @@ public function testGetTopicsExceptionTopicWithNonMatchedNameInEnv()
237
255
public function testGetTopicsExceptionMultipleHandlersSynchronousModeInEnv ()
238
256
{
239
257
$ this ->expectException (\LogicException::class);
240
- $ this ->expectExceptionMessage ('Topic "customerDeleted" is configured for synchronous requests, that is why it must ' );
258
+ $ this ->expectExceptionMessage (
259
+ 'Topic "customerDeleted" is configured for synchronous requests, that is why it must '
260
+ );
241
261
242
262
$ this ->getConfigInstance (
243
263
[__DIR__ . '/_files/valid_communication.xml ' ],
@@ -250,7 +270,9 @@ public function testGetTopicsExceptionMultipleHandlersSynchronousModeInEnv()
250
270
public function testGetTopicsExceptionInvalidRequestSchemaInEnv ()
251
271
{
252
272
$ this ->expectException (\LogicException::class);
253
- $ this ->expectExceptionMessage ('Request schema definition for topic "customerCreated" should reference existing service ' );
273
+ $ this ->expectExceptionMessage (
274
+ 'Request schema definition for topic "customerCreated" should reference existing service '
275
+ );
254
276
255
277
$ this ->getConfigInstance (
256
278
[__DIR__ . '/_files/valid_communication.xml ' ],
@@ -263,7 +285,9 @@ public function testGetTopicsExceptionInvalidRequestSchemaInEnv()
263
285
public function testGetTopicsExceptionInvalidResponseSchemaInEnv ()
264
286
{
265
287
$ this ->expectException (\LogicException::class);
266
- $ this ->expectExceptionMessage ('Response schema definition for topic "customerCreated" should reference existing type o ' );
288
+ $ this ->expectExceptionMessage (
289
+ 'Response schema definition for topic "customerCreated" should reference existing type o '
290
+ );
267
291
268
292
$ this ->getConfigInstance (
269
293
[__DIR__ . '/_files/valid_communication.xml ' ],
@@ -276,7 +300,9 @@ public function testGetTopicsExceptionInvalidResponseSchemaInEnv()
276
300
public function testGetTopicsExceptionInvalidMethodInHandlerInEnv ()
277
301
{
278
302
$ this ->expectException (\LogicException::class);
279
- $ this ->expectExceptionMessage ('Service method specified in the definition of handler "customerCreatedFirst" for topic ' );
303
+ $ this ->expectExceptionMessage (
304
+ 'Service method specified in the definition of handler "customerCreatedFirst" for topic '
305
+ );
280
306
281
307
$ this ->getConfigInstance (
282
308
[__DIR__ . '/_files/valid_communication.xml ' ],
@@ -289,7 +315,9 @@ public function testGetTopicsExceptionInvalidMethodInHandlerInEnv()
289
315
public function testGetTopicsExceptionWithDisabledHandlerInEnv ()
290
316
{
291
317
$ this ->expectException (\LogicException::class);
292
- $ this ->expectExceptionMessage ('Disabled handler "default" for topic "customerCreated" cannot be added to the config fi ' );
318
+ $ this ->expectExceptionMessage (
319
+ 'Disabled handler "default" for topic "customerCreated" cannot be added to the config fi '
320
+ );
293
321
294
322
$ this ->getConfigInstance (
295
323
[__DIR__ . '/_files/valid_communication.xml ' ],
@@ -302,7 +330,9 @@ public function testGetTopicsExceptionWithDisabledHandlerInEnv()
302
330
public function testGetTopicsExceptionIncorrectRequestSchemaTypeInEnv ()
303
331
{
304
332
$ this ->expectException (\LogicException::class);
305
- $ this ->expectExceptionMessage ('Request schema type for topic "customerCreated" must be "object_interface" or "service_ ' );
333
+ $ this ->expectExceptionMessage (
334
+ 'Request schema type for topic "customerCreated" must be "object_interface" or "service_ '
335
+ );
306
336
307
337
$ this ->getConfigInstance (
308
338
[__DIR__ . '/_files/valid_communication.xml ' ],
@@ -315,7 +345,9 @@ public function testGetTopicsExceptionIncorrectRequestSchemaTypeInEnv()
315
345
public function testGetTopicsExceptionIsNotBooleanTypeOfIsSynchronousInEnv ()
316
346
{
317
347
$ this ->expectException (\LogicException::class);
318
- $ this ->expectExceptionMessage ('The attribute "is_synchronous" for topic "customerCreated" should have the value of the ' );
348
+ $ this ->expectExceptionMessage (
349
+ 'The attribute "is_synchronous" for topic "customerCreated" should have the value of the '
350
+ );
319
351
320
352
$ this ->getConfigInstance (
321
353
[__DIR__ . '/_files/valid_communication.xml ' ],
0 commit comments