package de.gesellix.docker.client.filesocket;

import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;

import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;

class UnixSocketFactorySupportTest {

    @Test
    @DisplayName("Supports Mac OS X")
    void supportsMacOsX() {
        assertTrue(new UnixSocketFactorySupport().isSupported("Mac OS X"));
    }

    @Test
    @DisplayName("Supports Linux")
    void supportsLinux() {
        assertTrue(new UnixSocketFactorySupport().isSupported("Linux"));
    }

    @Test
    @DisplayName("Doesn't support Windows 10")
    void doesNotSupportWindows10() {
        assertFalse(new UnixSocketFactorySupport().isSupported("Windows 10"));
    }
}

@@ -116,16 +116,111 @@
 pi.Test;
+%0Aimport org.junit.jupiter.api.condition.EnabledOnOs;%0Aimport org.junit.jupiter.api.condition.OS;
 %0A%0Aimport
@@ -373,32 +373,57 @@
 st %7B%0A%0A    @Test%0A
+    @EnabledOnOs(OS.MAC)%0A
     @DisplayName
@@ -557,32 +557,59 @@
    %7D%0A%0A    @Test%0A
+    @EnabledOnOs(OS.LINUX)%0A
     @DisplayName
@@ -726,32 +726,32 @@
 inux%22));%0A    %7D%0A%0A
-
     @Test%0A    @D
@@ -740,24 +740,53 @@
 %0A%0A    @Test%0A
+    @EnabledOnOs(OS.WINDOWS)%0A
     @Display

Check UnixSocketSupport os specific variants only on the relevant os'