AbstractSseRequestBuilder.java

1
package pl.zankowski.iextrading4j.client.sse.request;
2
3
public abstract class AbstractSseRequestBuilder<R, B extends ISseRequestBuilder<R>>
4
        implements ISseRequestBuilder<R> {
5
6
    protected static final String NO_SNAPSHOT_PARAM = "nosnapshot";
7
8
    private boolean noSnapshot;
9
10
    protected String isNoSnapshot() {
11 1 1. isNoSnapshot : replaced return value with "" for pl/zankowski/iextrading4j/client/sse/request/AbstractSseRequestBuilder::isNoSnapshot → KILLED
        return String.valueOf(noSnapshot);
12
    }
13
14
    B withNoSnapshot() {
15
        this.noSnapshot = true;
16 1 1. withNoSnapshot : replaced return value with null for pl/zankowski/iextrading4j/client/sse/request/AbstractSseRequestBuilder::withNoSnapshot → NO_COVERAGE
        return (B) this;
17
    }
18
19
}

Mutations

11

1.1
Location : isNoSnapshot
Killed by : pl.zankowski.iextrading4j.client.sse.request.alternative.CryptoBookSseRequestBuilderTest.[engine:junit-jupiter]/[class:pl.zankowski.iextrading4j.client.sse.request.alternative.CryptoBookSseRequestBuilderTest]/[method:shouldSuccessfullyCreateRequest()]
replaced return value with "" for pl/zankowski/iextrading4j/client/sse/request/AbstractSseRequestBuilder::isNoSnapshot → KILLED

16

1.1
Location : withNoSnapshot
Killed by : none
replaced return value with null for pl/zankowski/iextrading4j/client/sse/request/AbstractSseRequestBuilder::withNoSnapshot → NO_COVERAGE

Active mutators

Tests examined


Report generated by PIT 1.7.1