// Path: src/test/java/co/omise/OmiseTest.java
// public abstract class OmiseTest extends Assert {
//     public byte[] getResourceBytes(String path) throws IOException {
//         InputStream stream = getClass().getResourceAsStream(path);
//         return stream == null ? null : ByteStreams.toByteArray(stream);
//     }
// }


import co.omise.OmiseTest;
import okhttp3.*;
import java.io.IOException;
package co.omise.testutils;



public class TestInterceptor implements Interceptor {
    private static final MediaType jsonMediaType = MediaType.parse("application/json");

// Path: src/test/java/co/omise/OmiseTest.java
// public abstract class OmiseTest extends Assert {
//     public byte[] getResourceBytes(String path) throws IOException {
//         InputStream stream = getClass().getResourceAsStream(path);
//         return stream == null ? null : ByteStreams.toByteArray(stream);
//     }
// }


// Path: src/test/java/co/omise/testutils/TestInterceptor.java
import co.omise.OmiseTest;
import okhttp3.*;
import java.io.IOException;

package co.omise.testutils;



public class TestInterceptor implements Interceptor {
    private static final MediaType jsonMediaType = MediaType.parse("application/json");

    private final OmiseTest test;