// Path: powermock-modules/powermock-module-junit4/src/main/java/org/powermock/modules/junit4/PowerMockRunner.java
// public class PowerMockRunner extends AbstractCommonPowerMockRunner {
// 
//     public PowerMockRunner(Class<?> klass) throws Exception {
//         super(klass, getRunnerDelegateImplClass(klass));
//     }
//     
//     private static Class<? extends PowerMockJUnitRunnerDelegate> getRunnerDelegateImplClass(Class<?> klass) {
//         if (klass.isAnnotationPresent(PowerMockRunnerDelegate.class)
//                 || Boolean.getBoolean("powermock.implicitDelegateAnnotation")) {
//             return DelegatingPowerMockRunner.class;
//         }
// 
//         Class<? extends PowerMockJUnitRunnerDelegate> concreteClass = PowerMockJUnit44RunnerDelegateImpl.class;
//         if(JUnitVersion.isGreaterThanOrEqualTo("4.9")) {
//                    concreteClass = PowerMockJUnit49RunnerDelegateImpl.class;
//         } else if( JUnitVersion.isGreaterThanOrEqualTo("4.7") ) {
//             concreteClass = PowerMockJUnit47RunnerDelegateImpl.class;
//         }
//         return concreteClass;
//     }
// 
//     /**
//      * Clean up some state to avoid OOM issues
//      */
//     @Override
//     public void run(RunNotifier notifier) {
//         Description description = getDescription();
//         try {
//             super.run(notifier);
//         } finally {
//             Whitebox.setInternalState(description, "fAnnotations", new Annotation[]{});
//         }
//     }
// }


import org.junit.Test;
import org.junit.runner.RunWith;
import org.powermock.api.mockito.PowerMockito;
import org.powermock.core.classloader.annotations.PrepareForTest;
import org.powermock.modules.junit4.PowerMockRunner;
import static org.assertj.core.api.Java6Assertions.assertThat;
import static org.mockito.Mockito.spy;
package samples.powermockito.junit4.bugs.github781;



@RunWith(PowerMockRunner.class)
@PrepareForTest(EqualsStatic.class)
public class GitHub781Test {

    private SpyObject partialMock = null;
    private final boolean result = true;

    @Test
// Path: powermock-modules/powermock-module-junit4/src/main/java/org/powermock/modules/junit4/PowerMockRunner.java
// public class PowerMockRunner extends AbstractCommonPowerMockRunner {
// 
//     public PowerMockRunner(Class<?> klass) throws Exception {
//         super(klass, getRunnerDelegateImplClass(klass));
//     }
//     
//     private static Class<? extends PowerMockJUnitRunnerDelegate> getRunnerDelegateImplClass(Class<?> klass) {
//         if (klass.isAnnotationPresent(PowerMockRunnerDelegate.class)
//                 || Boolean.getBoolean("powermock.implicitDelegateAnnotation")) {
//             return DelegatingPowerMockRunner.class;
//         }
// 
//         Class<? extends PowerMockJUnitRunnerDelegate> concreteClass = PowerMockJUnit44RunnerDelegateImpl.class;
//         if(JUnitVersion.isGreaterThanOrEqualTo("4.9")) {
//                    concreteClass = PowerMockJUnit49RunnerDelegateImpl.class;
//         } else if( JUnitVersion.isGreaterThanOrEqualTo("4.7") ) {
//             concreteClass = PowerMockJUnit47RunnerDelegateImpl.class;
//         }
//         return concreteClass;
//     }
// 
//     /**
//      * Clean up some state to avoid OOM issues
//      */
//     @Override
//     public void run(RunNotifier notifier) {
//         Description description = getDescription();
//         try {
//             super.run(notifier);
//         } finally {
//             Whitebox.setInternalState(description, "fAnnotations", new Annotation[]{});
//         }
//     }
// }


// Path: tests/mockito/junit4/src/test/java/samples/powermockito/junit4/bugs/github781/GitHub781Test.java
import org.junit.Test;
import org.junit.runner.RunWith;
import org.powermock.api.mockito.PowerMockito;
import org.powermock.core.classloader.annotations.PrepareForTest;
import org.powermock.modules.junit4.PowerMockRunner;
import static org.assertj.core.api.Java6Assertions.assertThat;
import static org.mockito.Mockito.spy;

package samples.powermockito.junit4.bugs.github781;



@RunWith(PowerMockRunner.class)
@PrepareForTest(EqualsStatic.class)
public class GitHub781Test {

    private SpyObject partialMock = null;
    private final boolean result = true;

    @Test
    public void testCallMockStaticEquals() {