package jp.azw.kancolleague.kcdata;

import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.is;

import java.util.HashMap;
import java.util.Map;

import org.junit.Test;

import jp.azw.kancolleague.kcapi.Root;

public abstract class RootTest<T extends Root> {
	protected T json;
	
	@SuppressWarnings("serial")
	protected Map<String, String[]> param = new HashMap<String, String[]>(){
		{
			put("api_token", new String[] { "test" });
			put("api_verno", new String[] { "1" });
		}
	};
	
	@Test
	public void test_Root_Param() {
		assertThat(json.getToken(), is("test"));
		assertThat(json.getVerNo(), is(1));
	}
}

@@ -655,17 +655,19 @@
 o(), is(
-1
+%221%22
 ));%0D%0A%09%7D%0D

Test 変更