// Path: graceland-platform/src/main/java/io/graceland/plugin/Plugin.java
// public interface Plugin extends Module {
// }


import java.util.ServiceLoader;
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 com.google.common.collect.ImmutableList;
import io.graceland.plugin.Plugin;
import static org.mockito.Matchers.any;
import static org.mockito.Matchers.eq;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
package io.graceland.plugin.loaders;





@RunWith(PowerMockRunner.class)
@PrepareForTest(NativePluginLoader.class)
public class NativePluginLoaderTest extends PluginLoaderTest<NativePluginLoader> {

    @Override
    protected NativePluginLoader newPluginLoader() {
        return NativePluginLoader.newLoader();
    }

    @Test
    public void gets_plugins_from_serviceloader() {
// Path: graceland-platform/src/main/java/io/graceland/plugin/Plugin.java
// public interface Plugin extends Module {
// }


// Path: graceland-platform/src/test/java/io/graceland/plugin/loaders/NativePluginLoaderTest.java
import java.util.ServiceLoader;
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 com.google.common.collect.ImmutableList;
import io.graceland.plugin.Plugin;
import static org.mockito.Matchers.any;
import static org.mockito.Matchers.eq;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;

package io.graceland.plugin.loaders;





@RunWith(PowerMockRunner.class)
@PrepareForTest(NativePluginLoader.class)
public class NativePluginLoaderTest extends PluginLoaderTest<NativePluginLoader> {

    @Override
    protected NativePluginLoader newPluginLoader() {
        return NativePluginLoader.newLoader();
    }

    @Test
    public void gets_plugins_from_serviceloader() {
        Plugin plugin1 = mock(Plugin.class);