All Downloads are FREE. Search and download functionalities are using the official Maven repository.

t.0.993.source-code.Temp Maven / Gradle / Ivy

There is a newer version: 0.999.4
Show newest version
import java.lang.reflect.*;

import mockit.internal.state.*;

public final class Temp
{
   public Object mock() throws Throwable
   {
      if (((InvocationHandler) Class.forName("mockit.internal.MockingBridge", true, ClassLoader.getSystemClassLoader())
         .newInstance()).invoke(this, null, new Object[] {}) != Void.class) return null;

      Class tempClass = Temp.class;
      return TestRun.getMock(tempClass, this);
   }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy