package org.embulk.output.kintone; import net.jcip.annotations.NotThreadSafe; import org.junit.Test; @NotThreadSafe public class TestTaskMode extends TestTask { @Override public void before() { super.before(); merge(config("domain: task/mode")); } @Test public void testInsert() throws Exception { merge(config("mode: insert")); runOutput(); } @Test public void testUpdate() throws Exception { merge(config("mode: update", "update_key: string_number")); runOutput(); } @Test public void testUpsert() throws Exception { merge(config("mode: upsert", "update_key: double_single_line_text")); runOutput(); } }