@@ -109,6 +109,12 @@ TriasMockClient >> installMockStopRefinementAtRandomLocations: aNumberOfMocks [
109
109
longitude: ' 8.' , (eachIndex asString padLeftTo: 5 with: $0 )) ]
110
110
]
111
111
112
+ { #category : #' services - mocking' }
113
+ TriasMockClient >> installMockStopRefinementWithInvalidCoordinates: aNumberOfMocks [
114
+ 1 to: aNumberOfMocks do: [ :eachIndex |
115
+ self installMockStopRefinement: (self mockForStopRefinementWithInvalidCoordinates ) ]
116
+ ]
117
+
112
118
{ #category : #' services - mocking' }
113
119
TriasMockClient >> installMockTrip [
114
120
@@ -313,6 +319,47 @@ TriasMockClient >> mockForStopRefinementAtLatitude: aLatitude longitude: aLongit
313
319
< / Trias > '
314
320
]
315
321
322
+ { #category : #' private - mocking' }
323
+ TriasMockClient >> mockForStopRefinementWithInvalidCoordinates [
324
+
325
+ ^ ' < ?xml version= " 1.0" encoding= " UTF-8" ?>
326
+ < Trias xmlns= " http://www.vdv.de/trias" version= " 1.1" >
327
+ < ServiceDelivery >
328
+ < ResponseTimestamp xmlns= " http://www.siri.org.uk/siri" > 2021 - 03 - 26T09: 08 :30Z< / ResponseTimestamp >
329
+ < ProducerRef xmlns= " http://www.siri.org.uk/siri" > EFAController10 .3.17 .15 - EFA01 < / ProducerRef >
330
+ < Status xmlns= " http://www.siri.org.uk/siri" > true < / Status >
331
+ < MoreData > false < / MoreData >
332
+ < Language > de< / Language >
333
+ < DeliveryPayload >
334
+ < LocationInformationResponse >
335
+ < Location >
336
+ < Location >
337
+ < StopPoint >
338
+ < StopPointRef > de: 08236 :2315 < / StopPointRef >
339
+ < StopPointName >
340
+ < Text > Diefenbach (W ürtt), Schule < / Text >
341
+ < Language > de< / Language >
342
+ < / StopPointName >
343
+ < LocalityRef > 8236061 :1 < / LocalityRef >
344
+ < / StopPoint >
345
+ < LocationName >
346
+ < Text > Diefenbach (W ürtt)< / Text >
347
+ < Language > de< / Language >
348
+ < / LocationName >
349
+ < GeoPosition >
350
+ < Longitude > 2147483647.00000 < / Longitude >
351
+ < Latitude > 2147483647.00000 < / Latitude >
352
+ < / GeoPosition >
353
+ < / Location >
354
+ < Complete > true < / Complete >
355
+ < Probability > 1 < / Probability >
356
+ < / Location >
357
+ < / LocationInformationResponse >
358
+ < / DeliveryPayload >
359
+ < / ServiceDelivery >
360
+ < / Trias > '
361
+ ]
362
+
316
363
{ #category : #' private - mocking' }
317
364
TriasMockClient >> mockForTrip [
318
365
0 commit comments