diff --git a/tests/HelperFunctions/TestCase.php b/tests/HelperFunctions/TestCase.php
index <HASH>..<HASH> 100644
--- a/tests/HelperFunctions/TestCase.php
+++ b/tests/HelperFunctions/TestCase.php
@@ -20,6 +20,18 @@ abstract class TestCase extends \PHPUnit\Framework\TestCase
         self::$functions = mock();
     }
 
+    protected function emulateLinuxOs()
+    {
+        self::$functions->expects()->php_uname()
+            ->andReturns('Linux localhost 2.4.21-0.13mdk #1 Fri Mar 14 15:08:06 EST 2003 i686');
+    }
+
+    protected function emulateWindowsOs()
+    {
+        self::$functions->expects()->php_uname()
+            ->andReturns('Windows NT XN1 5.1 build 2600');
+    }
+
     protected function expectsExecWith($command)
     {
         self::$functions->expects()->exec($command);
OS emulation methods added.