title: Jmockit StrictExpectations mocking unmocked static method
body: <p>I am new to jmockit and StrictExpectations. Inside StrictExpectations I have recorded invocation and return value of static method of non-mocked class and the static method is mocked correctly but I don't know why it is happening. I think since the class is not mocked how is its invocation and return value is getting recorded in StrictExpectations.
  My code looks similar to below</p>
  <pre><code>@Test
  public void test() {
     new StrictExpectations () {{
         DummyClass.someStaticMethod(anyInt);
  result = 10;
     }};
     
     assertEquals(10, DummyClass.someStaticMetho(3));
  }
  </code></pre>
  <p>My question is even though DummyClass is not defined as a mocked class(something like @Mocked DummyClass d) how we are able to record it's invocation and result.</p>