AbstractSpecializedSender.java

1
package fr.sii.ogham.core.sender;
2
3
import fr.sii.ogham.core.exception.MessageException;
4
import fr.sii.ogham.core.message.Message;
5
6
/**
7
 * Base class for handling particular message implementation. This is just a
8
 * helper class in order to avoid casting the message.
9
 * 
10
 * @author Aurélien Baudet
11
 *
12
 * @param <M>
13
 *            The type of message that the sub-class is able to handle
14
 */
15
public abstract class AbstractSpecializedSender<M> implements SpecializedSender<M> {
16
17
	@Override
18
	@SuppressWarnings("unchecked")
19
	public void send(Message message) throws MessageException {
20 5 1. send : removed call to fr/sii/ogham/core/sender/AbstractSpecializedSender::send → NO_COVERAGE
2. send : removed call to fr/sii/ogham/core/sender/AbstractSpecializedSender::send → TIMED_OUT
3. send : removed call to fr/sii/ogham/core/sender/AbstractSpecializedSender::send → KILLED
4. send : removed call to fr/sii/ogham/core/sender/AbstractSpecializedSender::send → KILLED
5. send : removed call to fr/sii/ogham/core/sender/AbstractSpecializedSender::send → KILLED
		send((M) message);
21
	}
22
}

Mutations

20

1.1
Location : send
Killed by : oghamall.it.configuration.EmptyBuilderTest.emailSenderManuallyRegisteredButUnconfiguredTemplateParsersCantHandleMultiTemplateContent(oghamall.it.configuration.EmptyBuilderTest)
removed call to fr/sii/ogham/core/sender/AbstractSpecializedSender::send → KILLED

2.2
Location : send
Killed by : oghamjavamail.it.builder.JavaMailCustomConfigurationTest.oghamPropertyShouldOverride(oghamjavamail.it.builder.JavaMailCustomConfigurationTest)
removed call to fr/sii/ogham/core/sender/AbstractSpecializedSender::send → KILLED

3.3
Location : send
Killed by : none
removed call to fr/sii/ogham/core/sender/AbstractSpecializedSender::send → TIMED_OUT

4.4
Location : send
Killed by : none
removed call to fr/sii/ogham/core/sender/AbstractSpecializedSender::send → NO_COVERAGE

5.5
Location : send
Killed by : oghamcloudhopper.it.ConnectionFailureTest.invalidSystemId(oghamcloudhopper.it.ConnectionFailureTest)
removed call to fr/sii/ogham/core/sender/AbstractSpecializedSender::send → KILLED

Active mutators

Tests examined


Report generated by PIT OGHAM