package org.embulk.input;

public class TestRemoteFileInputPlugin
{
}

@@ -24,47 +24,1108 @@
 t;%0A%0A
-public class TestRemoteFileInputPlugin%0A%7B
+import com.google.common.base.Optional;%0Aimport org.embulk.EmbulkTestRuntime;%0Aimport org.embulk.config.ConfigSource;%0Aimport org.embulk.spi.Exec;%0Aimport org.junit.Rule;%0Aimport org.junit.Test;%0A%0Aimport java.util.Collections;%0A%0Aimport static org.hamcrest.CoreMatchers.is;%0Aimport static org.junit.Assert.assertThat;%0A%0Apublic class TestRemoteFileInputPlugin%0A%7B%0A    @Rule%0A    public EmbulkTestRuntime runtime = new EmbulkTestRuntime();%0A%0A    @Test%0A    public void checkDefaultValues()%0A    %7B%0A        ConfigSource config = Exec.newConfigSource();%0A%0A        RemoteFileInputPlugin.PluginTask task = config.loadConfig(RemoteFileInputPlugin.PluginTask.class);%0A%09%09assertThat(task.getHosts(), is(Collections.%3CString%3EemptyList()));%0A%09%09assertThat(task.getHostsCommand(), is(Optional.%3CString%3Eabsent()));%0A%09%09assertThat(task.getHostsSeparator(), is(%22 %22));%0A%09%09assertThat(task.getPath(), is(%22%22));%0A%09%09assertThat(task.getPathCommand(), is(Optional.%3CString%3Eabsent()));%0A%09%09assertThat(task.getAuth(), is(Collections.%3CString, String%3EemptyMap()));%0A%09%09assertThat(task.getLastTarget(), is(Optional.%3CRemoteFileInputPlugin.Target%3Eabsent()));%0A    %7D
 %0A%7D%0A

Add default config test.