StakeWithdrawalDetailResponse.java

1
package org.cardanofoundation.explorer.api.model.response.stake.lifecycle;
2
3
import java.math.BigInteger;
4
import java.time.LocalDateTime;
5
6
import lombok.Builder;
7
import lombok.Getter;
8
import lombok.Setter;
9
10
@Getter
11
@Setter
12 9 1. toString : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeWithdrawalDetailResponse$StakeWithdrawalDetailResponseBuilder::toString → NO_COVERAGE
2. amount : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeWithdrawalDetailResponse$StakeWithdrawalDetailResponseBuilder::amount → KILLED
3. builder : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeWithdrawalDetailResponse::builder → KILLED
4. stakeTotalAmount : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeWithdrawalDetailResponse$StakeWithdrawalDetailResponseBuilder::stakeTotalAmount → KILLED
5. build : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeWithdrawalDetailResponse$StakeWithdrawalDetailResponseBuilder::build → KILLED
6. stakeRewardAvailable : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeWithdrawalDetailResponse$StakeWithdrawalDetailResponseBuilder::stakeRewardAvailable → KILLED
7. time : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeWithdrawalDetailResponse$StakeWithdrawalDetailResponseBuilder::time → KILLED
8. fee : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeWithdrawalDetailResponse$StakeWithdrawalDetailResponseBuilder::fee → KILLED
9. txHash : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeWithdrawalDetailResponse$StakeWithdrawalDetailResponseBuilder::txHash → KILLED
@Builder
13
public class StakeWithdrawalDetailResponse {
14
15 1 1. getTxHash : replaced return value with "" for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeWithdrawalDetailResponse::getTxHash → KILLED
  private String txHash;
16 1 1. getAmount : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeWithdrawalDetailResponse::getAmount → KILLED
  private BigInteger amount;
17 1 1. getFee : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeWithdrawalDetailResponse::getFee → KILLED
  private BigInteger fee;
18 1 1. getTime : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeWithdrawalDetailResponse::getTime → SURVIVED
  private LocalDateTime time;
19 1 1. getStakeTotalAmount : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeWithdrawalDetailResponse::getStakeTotalAmount → KILLED
  private BigInteger stakeTotalAmount;
20 1 1. getStakeRewardAvailable : replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeWithdrawalDetailResponse::getStakeRewardAvailable → KILLED
  private BigInteger stakeRewardAvailable;
21
}

Mutations

12

1.1
Location : amount
Killed by : org.cardanofoundation.explorer.api.controller.StakeKeyLifeCycleControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.StakeKeyLifeCycleControllerTest]/[method:shouldGetWithdrawalDetail()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeWithdrawalDetailResponse$StakeWithdrawalDetailResponseBuilder::amount → KILLED

2.2
Location : builder
Killed by : org.cardanofoundation.explorer.api.controller.StakeKeyLifeCycleControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.StakeKeyLifeCycleControllerTest]/[method:shouldGetWithdrawalDetail()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeWithdrawalDetailResponse::builder → KILLED

3.3
Location : stakeTotalAmount
Killed by : org.cardanofoundation.explorer.api.controller.StakeKeyLifeCycleControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.StakeKeyLifeCycleControllerTest]/[method:shouldGetWithdrawalDetail()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeWithdrawalDetailResponse$StakeWithdrawalDetailResponseBuilder::stakeTotalAmount → KILLED

4.4
Location : build
Killed by : org.cardanofoundation.explorer.api.controller.StakeKeyLifeCycleControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.StakeKeyLifeCycleControllerTest]/[method:shouldGetWithdrawalDetail()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeWithdrawalDetailResponse$StakeWithdrawalDetailResponseBuilder::build → KILLED

5.5
Location : stakeRewardAvailable
Killed by : org.cardanofoundation.explorer.api.controller.StakeKeyLifeCycleControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.StakeKeyLifeCycleControllerTest]/[method:shouldGetWithdrawalDetail()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeWithdrawalDetailResponse$StakeWithdrawalDetailResponseBuilder::stakeRewardAvailable → KILLED

6.6
Location : time
Killed by : org.cardanofoundation.explorer.api.controller.StakeKeyLifeCycleControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.StakeKeyLifeCycleControllerTest]/[method:shouldGetWithdrawalDetail()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeWithdrawalDetailResponse$StakeWithdrawalDetailResponseBuilder::time → KILLED

7.7
Location : toString
Killed by : none
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeWithdrawalDetailResponse$StakeWithdrawalDetailResponseBuilder::toString → NO_COVERAGE

8.8
Location : fee
Killed by : org.cardanofoundation.explorer.api.controller.StakeKeyLifeCycleControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.StakeKeyLifeCycleControllerTest]/[method:shouldGetWithdrawalDetail()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeWithdrawalDetailResponse$StakeWithdrawalDetailResponseBuilder::fee → KILLED

9.9
Location : txHash
Killed by : org.cardanofoundation.explorer.api.controller.StakeKeyLifeCycleControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.StakeKeyLifeCycleControllerTest]/[method:shouldGetWithdrawalDetail()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeWithdrawalDetailResponse$StakeWithdrawalDetailResponseBuilder::txHash → KILLED

15

1.1
Location : getTxHash
Killed by : org.cardanofoundation.explorer.api.controller.StakeKeyLifeCycleControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.StakeKeyLifeCycleControllerTest]/[method:shouldGetWithdrawalDetail()]
replaced return value with "" for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeWithdrawalDetailResponse::getTxHash → KILLED

16

1.1
Location : getAmount
Killed by : org.cardanofoundation.explorer.api.service.StakeKeyLifeCycleServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.StakeKeyLifeCycleServiceTest]/[method:getStakeWithdrawalDetail_whenRewardNotAvailable_shouldReturnRewardDataNull()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeWithdrawalDetailResponse::getAmount → KILLED

17

1.1
Location : getFee
Killed by : org.cardanofoundation.explorer.api.service.StakeKeyLifeCycleServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.StakeKeyLifeCycleServiceTest]/[method:getStakeWithdrawalDetail_whenRewardNotAvailable_shouldReturnRewardDataNull()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeWithdrawalDetailResponse::getFee → KILLED

18

1.1
Location : getTime
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeWithdrawalDetailResponse::getTime → SURVIVED

19

1.1
Location : getStakeTotalAmount
Killed by : org.cardanofoundation.explorer.api.service.StakeKeyLifeCycleServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.StakeKeyLifeCycleServiceTest]/[method:getStakeWithdrawalDetail_whenRewardNotAvailable_shouldReturnRewardDataNull()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeWithdrawalDetailResponse::getStakeTotalAmount → KILLED

20

1.1
Location : getStakeRewardAvailable
Killed by : org.cardanofoundation.explorer.api.service.StakeKeyLifeCycleServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.StakeKeyLifeCycleServiceTest]/[method:whenStakeAddressHaveWithdrawal_showReturnWithdrawalDetail()]
replaced return value with null for org/cardanofoundation/explorer/api/model/response/stake/lifecycle/StakeWithdrawalDetailResponse::getStakeRewardAvailable → KILLED

Active mutators

Tests examined


Report generated by PIT 1.14.2