We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20ba0ec commit 387f0c1Copy full SHA for 387f0c1
tests/HelperFunctions/TestCase.php
@@ -20,6 +20,18 @@ protected function setUp()
20
self::$functions = mock();
21
}
22
23
+ protected function emulateLinuxOs()
24
+ {
25
+ self::$functions->expects()->php_uname()
26
+ ->andReturns('Linux localhost 2.4.21-0.13mdk #1 Fri Mar 14 15:08:06 EST 2003 i686');
27
+ }
28
+
29
+ protected function emulateWindowsOs()
30
31
32
+ ->andReturns('Windows NT XN1 5.1 build 2600');
33
34
35
protected function expectsExecWith($command)
36
{
37
self::$functions->expects()->exec($command);
0 commit comments