RoleFunction.java

1
package org.cardanofoundation.explorer.api.interceptor.auth;
2
3
import java.util.Map;
4
5
import lombok.Getter;
6
import lombok.NoArgsConstructor;
7
import lombok.Setter;
8
9
import com.fasterxml.jackson.annotation.JsonCreator;
10
import com.fasterxml.jackson.annotation.JsonProperty;
11
12
@Getter
13
@Setter
14
@NoArgsConstructor
15
public class RoleFunction {
16
17
  @JsonProperty("uri")
18 1 1. getUri : replaced return value with "" for org/cardanofoundation/explorer/api/interceptor/auth/RoleFunction::getUri → NO_COVERAGE
  private String uri;
19
20
  @JsonProperty("method")
21 1 1. getMethod : replaced return value with "" for org/cardanofoundation/explorer/api/interceptor/auth/RoleFunction::getMethod → NO_COVERAGE
  private String method;
22
23
  @JsonProperty("description")
24 1 1. getDescription : replaced return value with Collections.emptyMap for org/cardanofoundation/explorer/api/interceptor/auth/RoleFunction::getDescription → NO_COVERAGE
  private Map<String, Object> description;
25
26
  @JsonCreator
27
  public RoleFunction(
28
      @JsonProperty("uri") String uri,
29
      @JsonProperty("method") String method,
30
      @JsonProperty("description") Map<String, Object> description) {
31
    this.uri = uri;
32
    this.method = method;
33
    this.description = description;
34
  }
35
}

Mutations

18

1.1
Location : getUri
Killed by : none
replaced return value with "" for org/cardanofoundation/explorer/api/interceptor/auth/RoleFunction::getUri → NO_COVERAGE

21

1.1
Location : getMethod
Killed by : none
replaced return value with "" for org/cardanofoundation/explorer/api/interceptor/auth/RoleFunction::getMethod → NO_COVERAGE

24

1.1
Location : getDescription
Killed by : none
replaced return value with Collections.emptyMap for org/cardanofoundation/explorer/api/interceptor/auth/RoleFunction::getDescription → NO_COVERAGE

Active mutators

Tests examined


Report generated by PIT 1.14.2