AddressSearchResponse.java

1
package org.cardanofoundation.explorer.api.model.response.search;
2
3
import lombok.AllArgsConstructor;
4
import lombok.Getter;
5
import lombok.NoArgsConstructor;
6
import lombok.Setter;
7
8
@Getter
9
@Setter
10
@AllArgsConstructor
11
@NoArgsConstructor
12
public class AddressSearchResponse {
13 1 1. getAddress : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/search/AddressSearchResponse::getAddress → KILLED
  private String address;
14 1 1. getStakeAddressView : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/search/AddressSearchResponse::getStakeAddressView → KILLED
  private String stakeAddressView;
15 2 1. isPaymentAddress : replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/search/AddressSearchResponse::isPaymentAddress → KILLED
2. isPaymentAddress : replaced boolean return with false for org/cardanofoundation/explorer/api/model/response/search/AddressSearchResponse::isPaymentAddress → KILLED
  private boolean isPaymentAddress = false;
16 2 1. isStakeAddress : replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/search/AddressSearchResponse::isStakeAddress → KILLED
2. isStakeAddress : replaced boolean return with false for org/cardanofoundation/explorer/api/model/response/search/AddressSearchResponse::isStakeAddress → KILLED
  private boolean isStakeAddress = false;
17
}

Mutations

13

1.1
Location : getAddress
Killed by : org.cardanofoundation.explorer.api.service.SearchServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.SearchServiceTest]/[method:testSearchLifeCycle_thenReturnStakeAddress()]
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/search/AddressSearchResponse::getAddress → KILLED

14

1.1
Location : getStakeAddressView
Killed by : org.cardanofoundation.explorer.api.service.SearchServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.SearchServiceTest]/[method:testSearchLifeCycle_thenReturnStakeAddress()]
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/search/AddressSearchResponse::getStakeAddressView → KILLED

15

1.1
Location : isPaymentAddress
Killed by : org.cardanofoundation.explorer.api.service.SearchServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.SearchServiceTest]/[method:testSearchLifeCycle_thenReturnStakeAddress()]
replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/search/AddressSearchResponse::isPaymentAddress → KILLED

2.2
Location : isPaymentAddress
Killed by : org.cardanofoundation.explorer.api.service.SearchServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.SearchServiceTest]/[method:testSearchLifeCycle_thenReturnAddress()]
replaced boolean return with false for org/cardanofoundation/explorer/api/model/response/search/AddressSearchResponse::isPaymentAddress → KILLED

16

1.1
Location : isStakeAddress
Killed by : org.cardanofoundation.explorer.api.service.SearchServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.SearchServiceTest]/[method:testSearchLifeCycle_thenReturnAddress()]
replaced boolean return with true for org/cardanofoundation/explorer/api/model/response/search/AddressSearchResponse::isStakeAddress → KILLED

2.2
Location : isStakeAddress
Killed by : org.cardanofoundation.explorer.api.service.SearchServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.SearchServiceTest]/[method:testSearchLifeCycle_thenReturnStakeAddress()]
replaced boolean return with false for org/cardanofoundation/explorer/api/model/response/search/AddressSearchResponse::isStakeAddress → KILLED

Active mutators

Tests examined


Report generated by PIT 1.14.2