package com.gentics.mesh.test.util;

import static org.junit.Assert.assertNotEquals;

import java.io.IOException;

import org.junit.Test;

import com.gentics.mesh.test.util.UnixUtils;

public class UnixUtilsTest {

	@Test
	public void testGetUid() throws IOException {
		int uid = UnixUtils.getUid();
		assertNotEquals(0, uid);
	}
}

@@ -52,36 +52,142 @@
 org.
-junit.Assert.assertNotEquals
+apache.commons.lang3.SystemUtils.IS_OS_UNIX;%0Aimport static org.junit.Assert.assertNotEquals;%0Aimport static org.junit.Assume.assumeTrue
 ;%0A%0Ai
@@ -235,22 +235,23 @@
 nit.
-Test;%0A
+Before;
 %0Aimport 
 com.
@@ -250,75 +250,116 @@
 ort 
-com.gentics.mesh.test.util.UnixUtils;%0A%0Apublic class UnixUtilsTest %7B
+org.junit.Test;%0A%0Apublic class UnixUtilsTest %7B%0A%0A%09@Before%0A%09public void isUnix() %7B%0A%09%09assumeTrue(IS_OS_UNIX);%0A%09%7D
 %0A%0A%09@
@@ -472,10 +472,11 @@
 id);%0A%09%7D%0A
+%0A
 %7D%0A

add os check before unix utils test