WebSocketMessage.java

1
package org.cardanofoundation.explorer.api.event.websocket;
2
3
import lombok.Builder;
4
import lombok.Getter;
5
import lombok.Setter;
6
7
import org.cardanofoundation.explorer.api.common.enumeration.WebSocketEventType;
8
9 5 1. toString : replaced return value with "" for org/cardanofoundation/explorer/api/event/websocket/WebSocketMessage$WebSocketMessageBuilder::toString → NO_COVERAGE
2. payload : replaced return value with null for org/cardanofoundation/explorer/api/event/websocket/WebSocketMessage$WebSocketMessageBuilder::payload → KILLED
3. eventType : replaced return value with null for org/cardanofoundation/explorer/api/event/websocket/WebSocketMessage$WebSocketMessageBuilder::eventType → KILLED
4. build : replaced return value with null for org/cardanofoundation/explorer/api/event/websocket/WebSocketMessage$WebSocketMessageBuilder::build → KILLED
5. builder : replaced return value with null for org/cardanofoundation/explorer/api/event/websocket/WebSocketMessage::builder → KILLED
@Builder
10
@Getter
11
@Setter
12
public class WebSocketMessage {
13 1 1. getEventType : replaced return value with null for org/cardanofoundation/explorer/api/event/websocket/WebSocketMessage::getEventType → SURVIVED
  private WebSocketEventType eventType;
14 1 1. getPayload : replaced return value with null for org/cardanofoundation/explorer/api/event/websocket/WebSocketMessage::getPayload → SURVIVED
  private Object payload;
15
}

Mutations

9

1.1
Location : payload
Killed by : org.cardanofoundation.explorer.api.service.WebSocketServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.WebSocketServiceTest]/[method:getCurrentBlockInfoMessage_shouldReturnResponse()]
replaced return value with null for org/cardanofoundation/explorer/api/event/websocket/WebSocketMessage$WebSocketMessageBuilder::payload → KILLED

2.2
Location : toString
Killed by : none
replaced return value with "" for org/cardanofoundation/explorer/api/event/websocket/WebSocketMessage$WebSocketMessageBuilder::toString → NO_COVERAGE

3.3
Location : eventType
Killed by : org.cardanofoundation.explorer.api.service.WebSocketServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.WebSocketServiceTest]/[method:getCurrentBlockInfoMessage_shouldReturnResponse()]
replaced return value with null for org/cardanofoundation/explorer/api/event/websocket/WebSocketMessage$WebSocketMessageBuilder::eventType → KILLED

4.4
Location : build
Killed by : org.cardanofoundation.explorer.api.service.WebSocketServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.WebSocketServiceTest]/[method:getCurrentBlockInfoMessage_shouldReturnResponse()]
replaced return value with null for org/cardanofoundation/explorer/api/event/websocket/WebSocketMessage$WebSocketMessageBuilder::build → KILLED

5.5
Location : builder
Killed by : org.cardanofoundation.explorer.api.service.WebSocketServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.WebSocketServiceTest]/[method:getCurrentBlockInfoMessage_shouldReturnResponse()]
replaced return value with null for org/cardanofoundation/explorer/api/event/websocket/WebSocketMessage::builder → KILLED

13

1.1
Location : getEventType
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/event/websocket/WebSocketMessage::getEventType → SURVIVED

14

1.1
Location : getPayload
Killed by : none
replaced return value with null for org/cardanofoundation/explorer/api/event/websocket/WebSocketMessage::getPayload → SURVIVED

Active mutators

Tests examined


Report generated by PIT 1.14.2