UserAgentUtil.java

1
package com.jsql.util;
2
3
import org.apache.commons.lang3.StringUtils;
4
5
public class UserAgentUtil {
6
    
7
    private String customUserAgent = StringUtils.EMPTY;
8
9
    public void withCustomUserAgent(String customUserAgent) {
10
        this.customUserAgent = customUserAgent;
11
    }
12
    
13
    
14
    // Getter and setter
15
16
    public String getCustomUserAgent() {
17 1 1. getCustomUserAgent : replaced return value with "" for com/jsql/util/UserAgentUtil::getCustomUserAgent → NO_COVERAGE
        return this.customUserAgent;
18
    }
19
20
    public void setCustomUserAgent(String customUserAgent) {
21
        this.customUserAgent = customUserAgent;
22
    }
23
}

Mutations

17

1.1
Location : getCustomUserAgent
Killed by : none
replaced return value with "" for com/jsql/util/UserAgentUtil::getCustomUserAgent → NO_COVERAGE

Active mutators

Tests examined


Report generated by PIT 1.19.1