package kg.apc.jmeter;

/**
 *
 * @author undera
 */
public class DirectoryAnchor {

    @Override
    public String toString() {
        String file = this.getClass().getResource("short.jtl").getPath();
        return file.substring(0, file.lastIndexOf("/"));
    }
}

package kg.apc.jmeter;

/**
 *
 * @author undera
 */
public class DirectoryAnchor {

    @Override
    public String toString() {
        String file = this.getClass().getResource("version.properties").getPath();
        return file.substring(0, file.lastIndexOf("/"));
    }
}

Fix unit tests