// Path: src/main/java/ev3dev/hardware/EV3DevFileSystem.java
// public static final String EV3DEV_TESTING_KEY = "EV3DEV_TESTING_KEY";


import lombok.extern.slf4j.Slf4j;
import java.util.Objects;
import static ev3dev.hardware.EV3DevFileSystem.EV3DEV_TESTING_KEY;
package ev3dev.utils;




/**
 * To check the possible options to use the methods enable/disable
 * list the content of the path: /sys/bus/usb/devices
 */
@Slf4j
public class USBPort {

    private String USBPath;
    private final String defaultUSBPath = "/sys/bus/usb/drivers/usb/";

    /**
     * Constructor
     */
    public USBPort() {

        if (Objects.nonNull(System.getProperty(EV3DEV_TESTING_KEY))) {
// Path: src/main/java/ev3dev/hardware/EV3DevFileSystem.java
// public static final String EV3DEV_TESTING_KEY = "EV3DEV_TESTING_KEY";


// Path: src/main/java/ev3dev/utils/USBPort.java
import lombok.extern.slf4j.Slf4j;
import java.util.Objects;
import static ev3dev.hardware.EV3DevFileSystem.EV3DEV_TESTING_KEY;

package ev3dev.utils;




/**
 * To check the possible options to use the methods enable/disable
 * list the content of the path: /sys/bus/usb/devices
 */
@Slf4j
public class USBPort {

    private String USBPath;
    private final String defaultUSBPath = "/sys/bus/usb/drivers/usb/";

    /**
     * Constructor
     */
    public USBPort() {

        if (Objects.nonNull(System.getProperty(EV3DEV_TESTING_KEY))) {
            final String NEW_ROOT_PATH = System.getProperty(EV3DEV_TESTING_KEY);