package com.github.phantomthief.util;

import static com.github.phantomthief.util.MoreReflection.getStackTraceProvider;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertSame;

import org.junit.jupiter.api.Test;

/**
 * @author w.vela
 * Created on 2019-08-01.
 */
class MoreReflectionJdk8CompatibilityTest {

    @Test
    void test() {
        StackTraceProvider stackTraceProvider = getStackTraceProvider();
        assertNotNull(stackTraceProvider);
        assertSame(StackTraceProviderJdk8.class, stackTraceProvider.getClass());
    }
}

@@ -235,16 +235,55 @@
 tSame;%0A%0A
+import org.junit.jupiter.api.Disabled;%0A
 import o
@@ -407,16 +407,67 @@
 Test %7B%0A%0A
+    /**%0A     * %E9%9C%80%E8%A6%81%E4%BD%BF%E7%94%A8 JDK8 %E6%9D%A5%E6%B5%8B%E8%AF%95%0A     */%0A    @Disabled%0A
     @Tes

add jdk8-test.