| 1 | package fr.sii.ogham.testing.sms.simulator.bean; | |
| 2 | ||
| 3 | /** | |
| 4 | * Just provide field values | |
| 5 | * | |
| 6 | * @author Aurélien Baudet | |
| 7 | * | |
| 8 | */ | |
| 9 | public class SimpleAddress implements Address { | |
| 10 | private final String address; | |
| 11 | private final byte ton; | |
| 12 | private final byte npi; | |
| 13 | ||
| 14 | /** | |
| 15 | * @param address | |
| 16 | * the address (phone number, IP address or anything else) | |
| 17 | * @param ton | |
| 18 | * the {@link TypeOfNumber} | |
| 19 | * @param npi | |
| 20 | * the {@link NumberingPlanIndicator} | |
| 21 | */ | |
| 22 | public SimpleAddress(String address, byte ton, byte npi) { | |
| 23 | super(); | |
| 24 | this.address = address; | |
| 25 | this.ton = ton; | |
| 26 | this.npi = npi; | |
| 27 | } | |
| 28 | ||
| 29 | @Override | |
| 30 | public byte getTon() { | |
| 31 |
4
1. getTon : replaced byte return with 0 for fr/sii/ogham/testing/sms/simulator/bean/SimpleAddress::getTon → SURVIVED 2. getTon : replaced byte return with 0 for fr/sii/ogham/testing/sms/simulator/bean/SimpleAddress::getTon → NO_COVERAGE 3. getTon : replaced byte return with 0 for fr/sii/ogham/testing/sms/simulator/bean/SimpleAddress::getTon → KILLED 4. getTon : replaced byte return with 0 for fr/sii/ogham/testing/sms/simulator/bean/SimpleAddress::getTon → KILLED |
return ton; |
| 32 | } | |
| 33 | ||
| 34 | @Override | |
| 35 | public byte getNpi() { | |
| 36 |
4
1. getNpi : replaced byte return with 0 for fr/sii/ogham/testing/sms/simulator/bean/SimpleAddress::getNpi → NO_COVERAGE 2. getNpi : replaced byte return with 0 for fr/sii/ogham/testing/sms/simulator/bean/SimpleAddress::getNpi → KILLED 3. getNpi : replaced byte return with 0 for fr/sii/ogham/testing/sms/simulator/bean/SimpleAddress::getNpi → KILLED 4. getNpi : replaced byte return with 0 for fr/sii/ogham/testing/sms/simulator/bean/SimpleAddress::getNpi → KILLED |
return npi; |
| 37 | } | |
| 38 | ||
| 39 | @Override | |
| 40 | public String getAddress() { | |
| 41 |
4
1. getAddress : replaced return value with "" for fr/sii/ogham/testing/sms/simulator/bean/SimpleAddress::getAddress → NO_COVERAGE 2. getAddress : replaced return value with "" for fr/sii/ogham/testing/sms/simulator/bean/SimpleAddress::getAddress → KILLED 3. getAddress : replaced return value with "" for fr/sii/ogham/testing/sms/simulator/bean/SimpleAddress::getAddress → KILLED 4. getAddress : replaced return value with "" for fr/sii/ogham/testing/sms/simulator/bean/SimpleAddress::getAddress → KILLED |
return address; |
| 42 | } | |
| 43 | ||
| 44 | } | |
Mutations | ||
| 31 |
1.1 2.2 3.3 4.4 |
|
| 36 |
1.1 2.2 3.3 4.4 |
|
| 41 |
1.1 2.2 3.3 4.4 |