title: unit testing static methods using powermock
body: <p>I want to write unit test case for some of the static methods in  my project,</p>
  
  <p>Snippet of my class code,</p>
  
  <pre><code>Class Util{
    public static String getVariableValue(String name)
    {
       if(isWindows()){
         return some string...
       }
       else{
         return some other string...
       }
    }
  
    public static boolean isWindows(){
      if(os is windows)
         return true;
      else
        return false; 
    }
  
  }
  </code></pre>
  
  <p>Basically, i want to write unit test case for getVariableValue() when isWindows() returns 'false'. How do i write this using powermock?</p>