import com.malk.taisen.service.RtrServer; import lombok.extern.slf4j.Slf4j; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringRunner; @Slf4j @RunWith(SpringRunner.class) @SpringBootTest(classes = com.malk.kepeida.Boot.class) public class RtrTest { String instanceId="023f6b5e-5d1d-447d-a0ca-8a6b35ecfc57"; @Autowired private RtrServer rtrServer; @Test public void RtrTest(){ rtrServer.RtrInsetSAP0005("YWJT","FORM-0401740B8E6F4DF8894498F0D8783B13QIPI", instanceId); } }