SlowPduSender.java

1
package fr.sii.ogham.testing.sms.simulator.jsmpp;
2
3
import java.io.IOException;
4
import java.io.OutputStream;
5
6
import ogham.testing.org.apache.commons.lang3.NotImplementedException;
7
import ogham.testing.org.jsmpp.InvalidNumberOfDestinationsException;
8
import ogham.testing.org.jsmpp.PDUSender;
9
import ogham.testing.org.jsmpp.PDUStringException;
10
import ogham.testing.org.jsmpp.bean.BindType;
11
import ogham.testing.org.jsmpp.bean.DataCoding;
12
import ogham.testing.org.jsmpp.bean.DestinationAddress;
13
import ogham.testing.org.jsmpp.bean.ESMClass;
14
import ogham.testing.org.jsmpp.bean.InterfaceVersion;
15
import ogham.testing.org.jsmpp.bean.MessageState;
16
import ogham.testing.org.jsmpp.bean.NumberingPlanIndicator;
17
import ogham.testing.org.jsmpp.bean.OptionalParameter;
18
import ogham.testing.org.jsmpp.bean.RegisteredDelivery;
19
import ogham.testing.org.jsmpp.bean.ReplaceIfPresentFlag;
20
import ogham.testing.org.jsmpp.bean.TypeOfNumber;
21
import ogham.testing.org.jsmpp.bean.UnsuccessDelivery;
22
23
import fr.sii.ogham.testing.sms.simulator.config.Awaiter;
24
import fr.sii.ogham.testing.sms.simulator.config.ServerDelays;
25
26
/**
27
 * Decorate a real {@link PDUSender}. If delay is configured, it waits for that
28
 * delay before sending the real PDU.
29
 * 
30
 * @author Aurélien Baudet
31
 *
32
 */
33
public class SlowPduSender implements PDUSender {
34
	private final PDUSender delegate;
35
	private final ServerDelays delays;
36
37
	public SlowPduSender(PDUSender delegate, ServerDelays delays) {
38
		super();
39
		this.delegate = delegate;
40
		this.delays = delays;
41
	}
42
43
	@Override
44
	public byte[] sendHeader(OutputStream os, int commandId, int commandStatus, int sequenceNumber) throws IOException {
45 1 1. sendHeader : removed call to fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::await → NO_COVERAGE
		await(delays.getSendHeaderWaiting());
46 1 1. sendHeader : replaced return value with null for fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::sendHeader → NO_COVERAGE
		return delegate.sendHeader(os, commandId, commandStatus, sequenceNumber);
47
	}
48
49
	@Override
50
	public byte[] sendBind(OutputStream os, BindType bindType, int sequenceNumber, String systemId, String password, String systemType, InterfaceVersion interfaceVersion, TypeOfNumber addrTon,
51
			NumberingPlanIndicator addrNpi, String addressRange) throws PDUStringException, IOException {
52 1 1. sendBind : removed call to fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::await → NO_COVERAGE
		await(delays.getSendBindWaiting());
53 1 1. sendBind : replaced return value with null for fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::sendBind → NO_COVERAGE
		return delegate.sendBind(os, bindType, sequenceNumber, systemId, password, systemType, interfaceVersion, addrTon, addrNpi, addressRange);
54
	}
55
56
	@Override
57
	public byte[] sendBindResp(OutputStream os, int commandId, int sequenceNumber, String systemId, InterfaceVersion interfaceVersion) throws PDUStringException, IOException {
58 1 1. sendBindResp : removed call to fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::await → NO_COVERAGE
		await(delays.getSendBindRespWaiting());
59 1 1. sendBindResp : replaced return value with null for fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::sendBindResp → NO_COVERAGE
		return delegate.sendBindResp(os, commandId, sequenceNumber, systemId, interfaceVersion);
60
	}
61
62
	@Override
63
	public byte[] sendOutbind(OutputStream os, int sequenceNumber, String systemId, String password) throws PDUStringException, IOException {
64 1 1. sendOutbind : removed call to fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::await → NO_COVERAGE
		await(delays.getSendOutbindWaiting());
65 1 1. sendOutbind : replaced return value with null for fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::sendOutbind → NO_COVERAGE
		return delegate.sendOutbind(os, sequenceNumber, systemId, password);
66
	}
67
68
	@Override
69
	public byte[] sendUnbind(OutputStream os, int sequenceNumber) throws IOException {
70 1 1. sendUnbind : removed call to fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::await → NO_COVERAGE
		await(delays.getSendUnbindWaiting());
71 1 1. sendUnbind : replaced return value with null for fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::sendUnbind → NO_COVERAGE
		return delegate.sendUnbind(os, sequenceNumber);
72
	}
73
74
	@Override
75
	public byte[] sendGenericNack(OutputStream os, int commandStatus, int sequenceNumber) throws IOException {
76 1 1. sendGenericNack : removed call to fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::await → NO_COVERAGE
		await(delays.getSendGenericNackWaiting());
77 1 1. sendGenericNack : replaced return value with null for fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::sendGenericNack → NO_COVERAGE
		return delegate.sendGenericNack(os, commandStatus, sequenceNumber);
78
	}
79
80
	@Override
81
	public byte[] sendUnbindResp(OutputStream os, int commandStatus, int sequenceNumber) throws IOException {
82 1 1. sendUnbindResp : removed call to fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::await → NO_COVERAGE
		await(delays.getSendUnbindRespWaiting());
83 1 1. sendUnbindResp : replaced return value with null for fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::sendUnbindResp → NO_COVERAGE
		return delegate.sendUnbindResp(os, commandStatus, sequenceNumber);
84
	}
85
86
	@Override
87
	public byte[] sendEnquireLink(OutputStream os, int sequenceNumber) throws IOException {
88 1 1. sendEnquireLink : removed call to fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::await → NO_COVERAGE
		await(delays.getSendEnquireLinkWaiting());
89 1 1. sendEnquireLink : replaced return value with null for fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::sendEnquireLink → NO_COVERAGE
		return delegate.sendEnquireLink(os, sequenceNumber);
90
	}
91
92
	@Override
93
	public byte[] sendEnquireLinkResp(OutputStream os, int sequenceNumber) throws IOException {
94 1 1. sendEnquireLinkResp : removed call to fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::await → NO_COVERAGE
		await(delays.getSendEnquireLinkRespWaiting());
95 1 1. sendEnquireLinkResp : replaced return value with null for fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::sendEnquireLinkResp → NO_COVERAGE
		return delegate.sendEnquireLinkResp(os, sequenceNumber);
96
	}
97
98
	@Override
99
	public byte[] sendSubmitSm(OutputStream os, int sequenceNumber, String serviceType, TypeOfNumber sourceAddrTon, NumberingPlanIndicator sourceAddrNpi, String sourceAddr, TypeOfNumber destAddrTon,
100
			NumberingPlanIndicator destAddrNpi, String destinationAddr, ESMClass esmClass, byte protocolId, byte priorityFlag, String scheduleDeliveryTime, String validityPeriod,
101
			RegisteredDelivery registeredDelivery, byte replaceIfPresentFlag, DataCoding dataCoding, byte smDefaultMsgId, byte[] shortMessage, OptionalParameter... optionalParameters)
102
			throws PDUStringException, IOException {
103 1 1. sendSubmitSm : removed call to fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::await → NO_COVERAGE
		await(delays.getSendSubmitSmWaiting());
104 1 1. sendSubmitSm : replaced return value with null for fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::sendSubmitSm → NO_COVERAGE
		return delegate.sendSubmitSm(os, sequenceNumber, serviceType, sourceAddrTon, sourceAddrNpi, sourceAddr, destAddrTon, destAddrNpi, destinationAddr, esmClass, protocolId, priorityFlag,
105
				scheduleDeliveryTime, validityPeriod, registeredDelivery, replaceIfPresentFlag, dataCoding, smDefaultMsgId, shortMessage, optionalParameters);
106
	}
107
108
	@Override
109
	public byte[] sendSubmitSmResp(OutputStream os, int sequenceNumber, String messageId, OptionalParameter... optionalParameters) throws PDUStringException, IOException {
110 1 1. sendSubmitSmResp : removed call to fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::await → NO_COVERAGE
		await(delays.getSendSubmitSmRespWaiting());
111 1 1. sendSubmitSmResp : replaced return value with null for fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::sendSubmitSmResp → NO_COVERAGE
		return delegate.sendSubmitSmResp(os, sequenceNumber, messageId, optionalParameters);
112
	}
113
114
	@Override
115
	public byte[] sendQuerySm(OutputStream os, int sequenceNumber, String messageId, TypeOfNumber sourceAddrTon, NumberingPlanIndicator sourceAddrNpi, String sourceAddr)
116
			throws PDUStringException, IOException {
117 1 1. sendQuerySm : removed call to fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::await → NO_COVERAGE
		await(delays.getSendQuerySmWaiting());
118 1 1. sendQuerySm : replaced return value with null for fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::sendQuerySm → NO_COVERAGE
		return delegate.sendQuerySm(os, sequenceNumber, messageId, sourceAddrTon, sourceAddrNpi, sourceAddr);
119
	}
120
121
	@Override
122
	public byte[] sendQuerySmResp(OutputStream os, int sequenceNumber, String messageId, String finalDate, MessageState messageState, byte errorCode) throws PDUStringException, IOException {
123 1 1. sendQuerySmResp : removed call to fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::await → NO_COVERAGE
		await(delays.getSendQuerySmRespWaiting());
124 1 1. sendQuerySmResp : replaced return value with null for fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::sendQuerySmResp → NO_COVERAGE
		return delegate.sendQuerySmResp(os, sequenceNumber, messageId, finalDate, messageState, errorCode);
125
	}
126
127
	@Override
128
	public byte[] sendDeliverSm(OutputStream os, int sequenceNumber, String serviceType, TypeOfNumber sourceAddrTon, NumberingPlanIndicator sourceAddrNpi, String sourceAddr, TypeOfNumber destAddrTon,
129
			NumberingPlanIndicator destAddrNpi, String destinationAddr, ESMClass esmClass, byte protocoId, byte priorityFlag, RegisteredDelivery registeredDelivery, DataCoding dataCoding,
130
			byte[] shortMessage, OptionalParameter... optionalParameters) throws PDUStringException, IOException {
131 1 1. sendDeliverSm : removed call to fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::await → NO_COVERAGE
		await(delays.getSendDeliverSmWaiting());
132 1 1. sendDeliverSm : replaced return value with null for fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::sendDeliverSm → NO_COVERAGE
		return delegate.sendDeliverSm(os, sequenceNumber, serviceType, sourceAddrTon, sourceAddrNpi, sourceAddr, destAddrTon, destAddrNpi, destinationAddr, esmClass, protocoId, priorityFlag,
133
				registeredDelivery, dataCoding, shortMessage, optionalParameters);
134
	}
135
136
	@Override
137
	public byte[] sendDeliverSmResp(OutputStream os, int commandStatus, int sequenceNumber, String messageId) throws IOException {
138 1 1. sendDeliverSmResp : removed call to fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::await → NO_COVERAGE
		await(delays.getSendDeliverSmRespWaiting());
139 1 1. sendDeliverSmResp : replaced return value with null for fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::sendDeliverSmResp → NO_COVERAGE
		return delegate.sendDeliverSmResp(os, commandStatus, sequenceNumber, messageId);
140
	}
141
142
	@Override
143
	public byte[] sendDataSm(OutputStream os, int sequenceNumber, String serviceType, TypeOfNumber sourceAddrTon, NumberingPlanIndicator sourceAddrNpi, String sourceAddr, TypeOfNumber destAddrTon,
144
			NumberingPlanIndicator destAddrNpi, String destinationAddr, ESMClass esmClass, RegisteredDelivery registeredDelivery, DataCoding dataCoding, OptionalParameter... optionalParameters)
145
			throws PDUStringException, IOException {
146 1 1. sendDataSm : removed call to fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::await → NO_COVERAGE
		await(delays.getSendDataSmWaiting());
147 1 1. sendDataSm : replaced return value with null for fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::sendDataSm → NO_COVERAGE
		return delegate.sendDataSm(os, sequenceNumber, serviceType, sourceAddrTon, sourceAddrNpi, sourceAddr, destAddrTon, destAddrNpi, destinationAddr, esmClass, registeredDelivery, dataCoding,
148
				optionalParameters);
149
	}
150
151
	@Override
152
	public byte[] sendDataSmResp(OutputStream os, int sequenceNumber, String messageId, OptionalParameter... optionalParameters) throws PDUStringException, IOException {
153 1 1. sendDataSmResp : removed call to fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::await → NO_COVERAGE
		await(delays.getSendDataSmRespWaiting());
154 1 1. sendDataSmResp : replaced return value with null for fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::sendDataSmResp → NO_COVERAGE
		return delegate.sendDataSmResp(os, sequenceNumber, messageId, optionalParameters);
155
	}
156
157
	@Override
158
	public byte[] sendCancelSm(OutputStream os, int sequenceNumber, String serviceType, String messageId, TypeOfNumber sourceAddrTon, NumberingPlanIndicator sourceAddrNpi, String sourceAddr,
159
			TypeOfNumber destAddrTon, NumberingPlanIndicator destAddrNpi, String destinationAddr) throws PDUStringException, IOException {
160 1 1. sendCancelSm : removed call to fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::await → NO_COVERAGE
		await(delays.getSendCancelSmWaiting());
161 1 1. sendCancelSm : replaced return value with null for fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::sendCancelSm → NO_COVERAGE
		return delegate.sendCancelSm(os, sequenceNumber, serviceType, messageId, sourceAddrTon, sourceAddrNpi, sourceAddr, destAddrTon, destAddrNpi, destinationAddr);
162
	}
163
164
	@Override
165
	public byte[] sendCancelSmResp(OutputStream os, int sequenceNumber) throws IOException {
166 1 1. sendCancelSmResp : removed call to fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::await → NO_COVERAGE
		await(delays.getSendCancelSmRespWaiting());
167 1 1. sendCancelSmResp : replaced return value with null for fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::sendCancelSmResp → NO_COVERAGE
		return delegate.sendCancelSmResp(os, sequenceNumber);
168
	}
169
170
	@Override
171
	public byte[] sendReplaceSm(OutputStream os, int sequenceNumber, String messageId, TypeOfNumber sourceAddrTon, NumberingPlanIndicator sourceAddrNpi, String sourceAddr, String scheduleDeliveryTime,
172
			String validityPeriod, RegisteredDelivery registeredDelivery, byte smDefaultMsgId, byte[] shortMessage) throws PDUStringException, IOException {
173 1 1. sendReplaceSm : removed call to fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::await → NO_COVERAGE
		await(delays.getSendReplaceSmWaiting());
174 1 1. sendReplaceSm : replaced return value with null for fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::sendReplaceSm → NO_COVERAGE
		return delegate.sendReplaceSm(os, sequenceNumber, messageId, sourceAddrTon, sourceAddrNpi, sourceAddr, scheduleDeliveryTime, validityPeriod, registeredDelivery, smDefaultMsgId, shortMessage);
175
	}
176
177
	@Override
178
	public byte[] sendReplaceSmResp(OutputStream os, int sequenceNumber) throws IOException {
179 1 1. sendReplaceSmResp : removed call to fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::await → NO_COVERAGE
		await(delays.getSendReplaceSmRespWaiting());
180 1 1. sendReplaceSmResp : replaced return value with null for fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::sendReplaceSmResp → NO_COVERAGE
		return delegate.sendReplaceSmResp(os, sequenceNumber);
181
	}
182
183
	@Override
184
	public byte[] sendSubmitMulti(OutputStream os, int sequenceNumber, String serviceType, TypeOfNumber sourceAddrTon, NumberingPlanIndicator sourceAddrNpi, String sourceAddr,
185
			DestinationAddress[] destinationAddresses, ESMClass esmClass, byte protocolId, byte priorityFlag, String scheduleDeliveryTime, String validityPeriod, RegisteredDelivery registeredDelivery,
186
			ReplaceIfPresentFlag replaceIfPresentFlag, DataCoding dataCoding, byte smDefaultMsgId, byte[] shortMessage, OptionalParameter... optionalParameters)
187
			throws PDUStringException, InvalidNumberOfDestinationsException, IOException {
188 1 1. sendSubmitMulti : removed call to fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::await → NO_COVERAGE
		await(delays.getSendSubmitMultiWaiting());
189 1 1. sendSubmitMulti : replaced return value with null for fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::sendSubmitMulti → NO_COVERAGE
		return delegate.sendSubmitMulti(os, sequenceNumber, serviceType, sourceAddrTon, sourceAddrNpi, sourceAddr, destinationAddresses, esmClass, protocolId, priorityFlag, scheduleDeliveryTime,
190
				validityPeriod, registeredDelivery, replaceIfPresentFlag, dataCoding, smDefaultMsgId, shortMessage, optionalParameters);
191
	}
192
193
	@Override
194
	public byte[] sendSubmitMultiResp(OutputStream os, int sequenceNumber, String messageId, UnsuccessDelivery... unsuccessDeliveries) throws PDUStringException, IOException {
195 1 1. sendSubmitMultiResp : removed call to fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::await → NO_COVERAGE
		await(delays.getSendSubmitMultiRespWaiting());
196 1 1. sendSubmitMultiResp : replaced return value with null for fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::sendSubmitMultiResp → NO_COVERAGE
		return delegate.sendSubmitMultiResp(os, sequenceNumber, messageId, unsuccessDeliveries);
197
	}
198
199
	@Override
200
	public byte[] sendAlertNotification(OutputStream os, int sequenceNumber, TypeOfNumber sourceAddrTon, NumberingPlanIndicator sourceAddrNpi, String sourceAddr, TypeOfNumber esmeAddrTon,
201
			NumberingPlanIndicator esmeAddrNpi, String esmeAddr, OptionalParameter... optionalParameters) throws PDUStringException, IOException {
202 1 1. sendAlertNotification : removed call to fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::await → NO_COVERAGE
		await(delays.getSendAlertNotificationWaiting());
203 1 1. sendAlertNotification : replaced return value with null for fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::sendAlertNotification → NO_COVERAGE
		return delegate.sendAlertNotification(os, sequenceNumber, sourceAddrTon, sourceAddrNpi, sourceAddr, esmeAddrTon, esmeAddrNpi, esmeAddr, optionalParameters);
204
	}
205
206
207
	@Override
208
	public byte[] sendBroadcastSm(OutputStream os, int sequenceNumber, String serviceType, TypeOfNumber sourceAddrTon, NumberingPlanIndicator sourceAddrNpi, String sourceAddr, String messageId,
209
			byte priorityFlag, String scheduleDeliveryTime, String validityPeriod, ReplaceIfPresentFlag replaceIfPresentFlag, DataCoding dataCoding, byte smDefaultMsgId,
210
			OptionalParameter... optionalParameters) throws PDUStringException, IOException {
211
		throw new NotImplementedException();
212
	}
213
214
	@Override
215
	public byte[] sendBroadcastSmResp(OutputStream os, int sequenceNumber, String messageId, OptionalParameter... optionalParameters) throws PDUStringException, IOException {
216
		throw new NotImplementedException();
217
	}
218
219
	@Override
220
	public byte[] sendCancelBroadcastSm(OutputStream os, int sequenceNumber, String serviceType, String messageId, TypeOfNumber sourceAddrTon, NumberingPlanIndicator sourceAddrNpi, String sourceAddr,
221
			OptionalParameter... optionalParameters) throws PDUStringException, IOException {
222
		throw new NotImplementedException();
223
	}
224
225
	@Override
226
	public byte[] sendCancelBroadcastSmResp(OutputStream os, int sequenceNumber) throws IOException {
227
		throw new NotImplementedException();
228
	}
229
230
	@Override
231
	public byte[] sendQueryBroadcastSm(OutputStream os, int sequenceNumber, String messageId, TypeOfNumber sourceAddrTon, NumberingPlanIndicator sourceAddrNpi, String sourceAddr,
232
			OptionalParameter... optionalParameters) throws PDUStringException, IOException {
233
		throw new NotImplementedException();
234
	}
235
236
	@Override
237
	public byte[] sendQueryBroadcastSmResp(OutputStream os, int sequenceNumber, String messageId, OptionalParameter... optionalParameters) throws PDUStringException, IOException {
238
		throw new NotImplementedException();
239
	}
240
	
241
	private static void await(Awaiter waiting) {
242 1 1. await : negated conditional → NO_COVERAGE
		if (waiting == null) {
243
			return;
244
		}
245 1 1. await : removed call to fr/sii/ogham/testing/sms/simulator/config/Awaiter::await → NO_COVERAGE
		waiting.await();
246
	}
247
248
}

Mutations

45

1.1
Location : sendHeader
Killed by :
removed call to fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::await → NO_COVERAGE

46

1.1
Location : sendHeader
Killed by :
replaced return value with null for fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::sendHeader → NO_COVERAGE

52

1.1
Location : sendBind
Killed by :
removed call to fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::await → NO_COVERAGE

53

1.1
Location : sendBind
Killed by :
replaced return value with null for fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::sendBind → NO_COVERAGE

58

1.1
Location : sendBindResp
Killed by :
removed call to fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::await → NO_COVERAGE

59

1.1
Location : sendBindResp
Killed by :
replaced return value with null for fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::sendBindResp → NO_COVERAGE

64

1.1
Location : sendOutbind
Killed by :
removed call to fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::await → NO_COVERAGE

65

1.1
Location : sendOutbind
Killed by :
replaced return value with null for fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::sendOutbind → NO_COVERAGE

70

1.1
Location : sendUnbind
Killed by :
removed call to fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::await → NO_COVERAGE

71

1.1
Location : sendUnbind
Killed by :
replaced return value with null for fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::sendUnbind → NO_COVERAGE

76

1.1
Location : sendGenericNack
Killed by :
removed call to fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::await → NO_COVERAGE

77

1.1
Location : sendGenericNack
Killed by :
replaced return value with null for fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::sendGenericNack → NO_COVERAGE

82

1.1
Location : sendUnbindResp
Killed by :
removed call to fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::await → NO_COVERAGE

83

1.1
Location : sendUnbindResp
Killed by :
replaced return value with null for fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::sendUnbindResp → NO_COVERAGE

88

1.1
Location : sendEnquireLink
Killed by :
removed call to fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::await → NO_COVERAGE

89

1.1
Location : sendEnquireLink
Killed by :
replaced return value with null for fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::sendEnquireLink → NO_COVERAGE

94

1.1
Location : sendEnquireLinkResp
Killed by :
removed call to fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::await → NO_COVERAGE

95

1.1
Location : sendEnquireLinkResp
Killed by :
replaced return value with null for fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::sendEnquireLinkResp → NO_COVERAGE

103

1.1
Location : sendSubmitSm
Killed by :
removed call to fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::await → NO_COVERAGE

104

1.1
Location : sendSubmitSm
Killed by :
replaced return value with null for fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::sendSubmitSm → NO_COVERAGE

110

1.1
Location : sendSubmitSmResp
Killed by :
removed call to fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::await → NO_COVERAGE

111

1.1
Location : sendSubmitSmResp
Killed by :
replaced return value with null for fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::sendSubmitSmResp → NO_COVERAGE

117

1.1
Location : sendQuerySm
Killed by :
removed call to fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::await → NO_COVERAGE

118

1.1
Location : sendQuerySm
Killed by :
replaced return value with null for fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::sendQuerySm → NO_COVERAGE

123

1.1
Location : sendQuerySmResp
Killed by :
removed call to fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::await → NO_COVERAGE

124

1.1
Location : sendQuerySmResp
Killed by :
replaced return value with null for fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::sendQuerySmResp → NO_COVERAGE

131

1.1
Location : sendDeliverSm
Killed by :
removed call to fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::await → NO_COVERAGE

132

1.1
Location : sendDeliverSm
Killed by :
replaced return value with null for fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::sendDeliverSm → NO_COVERAGE

138

1.1
Location : sendDeliverSmResp
Killed by :
removed call to fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::await → NO_COVERAGE

139

1.1
Location : sendDeliverSmResp
Killed by :
replaced return value with null for fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::sendDeliverSmResp → NO_COVERAGE

146

1.1
Location : sendDataSm
Killed by :
removed call to fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::await → NO_COVERAGE

147

1.1
Location : sendDataSm
Killed by :
replaced return value with null for fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::sendDataSm → NO_COVERAGE

153

1.1
Location : sendDataSmResp
Killed by :
removed call to fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::await → NO_COVERAGE

154

1.1
Location : sendDataSmResp
Killed by :
replaced return value with null for fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::sendDataSmResp → NO_COVERAGE

160

1.1
Location : sendCancelSm
Killed by :
removed call to fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::await → NO_COVERAGE

161

1.1
Location : sendCancelSm
Killed by :
replaced return value with null for fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::sendCancelSm → NO_COVERAGE

166

1.1
Location : sendCancelSmResp
Killed by :
removed call to fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::await → NO_COVERAGE

167

1.1
Location : sendCancelSmResp
Killed by :
replaced return value with null for fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::sendCancelSmResp → NO_COVERAGE

173

1.1
Location : sendReplaceSm
Killed by :
removed call to fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::await → NO_COVERAGE

174

1.1
Location : sendReplaceSm
Killed by :
replaced return value with null for fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::sendReplaceSm → NO_COVERAGE

179

1.1
Location : sendReplaceSmResp
Killed by :
removed call to fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::await → NO_COVERAGE

180

1.1
Location : sendReplaceSmResp
Killed by :
replaced return value with null for fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::sendReplaceSmResp → NO_COVERAGE

188

1.1
Location : sendSubmitMulti
Killed by :
removed call to fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::await → NO_COVERAGE

189

1.1
Location : sendSubmitMulti
Killed by :
replaced return value with null for fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::sendSubmitMulti → NO_COVERAGE

195

1.1
Location : sendSubmitMultiResp
Killed by :
removed call to fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::await → NO_COVERAGE

196

1.1
Location : sendSubmitMultiResp
Killed by :
replaced return value with null for fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::sendSubmitMultiResp → NO_COVERAGE

202

1.1
Location : sendAlertNotification
Killed by :
removed call to fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::await → NO_COVERAGE

203

1.1
Location : sendAlertNotification
Killed by :
replaced return value with null for fr/sii/ogham/testing/sms/simulator/jsmpp/SlowPduSender::sendAlertNotification → NO_COVERAGE

242

1.1
Location : await
Killed by :
negated conditional → NO_COVERAGE

245

1.1
Location : await
Killed by :
removed call to fr/sii/ogham/testing/sms/simulator/config/Awaiter::await → NO_COVERAGE

Active mutators

Tests examined


Report generated by PIT 1.13.1