CloudhopperCharsetAdapter.java

1
package fr.sii.ogham.testing.sms.simulator.decode;
2
3
/**
4
 * Wrapper that decodes bytes using Cloudhopper
5
 * {@link ogham.testing.com.cloudhopper.commons.charset.Charset}
6
 * 
7
 * @author Aurélien Baudet
8
 *
9
 */
10
public class CloudhopperCharsetAdapter implements Charset {
11
	private final ogham.testing.com.cloudhopper.commons.charset.Charset cloudhopperCharset;
12
13
	public CloudhopperCharsetAdapter(ogham.testing.com.cloudhopper.commons.charset.Charset cloudhopperCharset) {
14
		super();
15
		this.cloudhopperCharset = cloudhopperCharset;
16
	}
17
18
	@Override
19
	public String decode(byte[] bytes) {
20 1 1. decode : replaced return value with "" for fr/sii/ogham/testing/sms/simulator/decode/CloudhopperCharsetAdapter::decode → NO_COVERAGE
		return cloudhopperCharset.decode(bytes);
21
	}
22
}

Mutations

20

1.1
Location : decode
Killed by :
replaced return value with "" for fr/sii/ogham/testing/sms/simulator/decode/CloudhopperCharsetAdapter::decode → NO_COVERAGE

Active mutators

Tests examined


Report generated by PIT 1.13.1