CorrectPackageNameCompatFactory.java

1
package fr.sii.ogham.email.sendgrid.v4.sender.impl.sendgrid.compat;
2
3
/**
4
 * Compatibility factory that creates compatibility wrappers.
5
 * 
6
 * @author Aurélien Baudet
7
 * @see CompatUtil
8
 */
9
public class CorrectPackageNameCompatFactory implements CompatFactory {
10
11
	@Override
12
	public MailCompat newMail() {
13 2 1. newMail : replaced return value with null for fr/sii/ogham/email/sendgrid/v4/sender/impl/sendgrid/compat/CorrectPackageNameCompatFactory::newMail → NO_COVERAGE
2. newMail : replaced return value with null for fr/sii/ogham/email/sendgrid/v4/sender/impl/sendgrid/compat/CorrectPackageNameCompatFactory::newMail → KILLED
		return new CorrectPackageNameMailCompat();
14
	}
15
16
	@Override
17
	public AttachmentsCompat newAttachments() {
18 2 1. newAttachments : replaced return value with null for fr/sii/ogham/email/sendgrid/v4/sender/impl/sendgrid/compat/CorrectPackageNameCompatFactory::newAttachments → NO_COVERAGE
2. newAttachments : replaced return value with null for fr/sii/ogham/email/sendgrid/v4/sender/impl/sendgrid/compat/CorrectPackageNameCompatFactory::newAttachments → KILLED
		return new CorrectPackageNameAttachmentsCompat();
19
	}
20
21
	@Override
22
	public PersonalizationCompat newPersonalization() {
23 2 1. newPersonalization : replaced return value with null for fr/sii/ogham/email/sendgrid/v4/sender/impl/sendgrid/compat/CorrectPackageNameCompatFactory::newPersonalization → NO_COVERAGE
2. newPersonalization : replaced return value with null for fr/sii/ogham/email/sendgrid/v4/sender/impl/sendgrid/compat/CorrectPackageNameCompatFactory::newPersonalization → KILLED
		return new CorrectPackageNamePersonalizationCompat();
24
	}
25
26
}

Mutations

13

1.1
Location : newMail
Killed by : oghamsendgridv4.it.SendGridTranslationTest.forBasicTextEmail
replaced return value with null for fr/sii/ogham/email/sendgrid/v4/sender/impl/sendgrid/compat/CorrectPackageNameCompatFactory::newMail → KILLED

2.2
Location : newMail
Killed by : none
replaced return value with null for fr/sii/ogham/email/sendgrid/v4/sender/impl/sendgrid/compat/CorrectPackageNameCompatFactory::newMail → NO_COVERAGE

18

1.1
Location : newAttachments
Killed by : none
replaced return value with null for fr/sii/ogham/email/sendgrid/v4/sender/impl/sendgrid/compat/CorrectPackageNameCompatFactory::newAttachments → NO_COVERAGE

2.2
Location : newAttachments
Killed by : oghamsendgridv4.it.SendGridFluentEmailTest.attachResource()
replaced return value with null for fr/sii/ogham/email/sendgrid/v4/sender/impl/sendgrid/compat/CorrectPackageNameCompatFactory::newAttachments → KILLED

23

1.1
Location : newPersonalization
Killed by : none
replaced return value with null for fr/sii/ogham/email/sendgrid/v4/sender/impl/sendgrid/compat/CorrectPackageNameCompatFactory::newPersonalization → NO_COVERAGE

2.2
Location : newPersonalization
Killed by : oghamsendgridv4.it.SendGridTranslationTest.forBasicTextEmail
replaced return value with null for fr/sii/ogham/email/sendgrid/v4/sender/impl/sendgrid/compat/CorrectPackageNameCompatFactory::newPersonalization → KILLED

Active mutators

Tests examined


Report generated by PIT OGHAM