/*
 * R Service Bus
 * 
 * Copyright (c) Copyright of Open Analytics NV, 2010-2021
 * 
 * ===========================================================================
 * 
 * This file is part of R Service Bus.
 * 
 * R Service Bus is free software: you can redistribute it and/or modify
 * it under the terms of the Apache License as published by
 * The Apache Software Foundation, either version 2 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * Apache License for more details.
 * 
 * You should have received a copy of the Apache License
 * along with R Service Bus.  If not, see <http://www.apache.org/licenses/>.
 */

package eu.openanalytics.rsb;

import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.assertThat;

import org.junit.Test;

import com.eviware.soapui.tools.SoapUITestCaseRunner;

/**
 * @author "Open Analytics &lt;rsb.development@openanalytics.eu&gt;"
 */
public class SoapMtomITCase extends AbstractITCase {
    @Test
    public void soapMtomJobsApi() throws Exception {
        final SoapUITestCaseRunner runner = new SoapUITestCaseRunner("RSB SOAP MTOM Integration Tests");
        runner.setSettingsFile("src/it/config/rsb-it-soapui-settings.xml");
        runner.setProjectFile("src/it/config/rsb-it-soapui-project.xml");
        runner.setGlobalProperties(new String[] { "rsb.soap.uri=" + RSB_BASE_URI + "/api/soap/mtom-jobs" });
        assertThat(runner.run(), is(true));
    }
}

@@ -883,99 +883,31 @@
 org.
-hamcrest.CoreMatchers.is;%0Aimport static org.junit.Assert.assertThat;%0A%0Aimport org.junit.Test
+junit.Assert.assertTrue
 ;%0A%0Ai
@@ -959,16 +959,40 @@
 Runner;%0A
+import org.junit.Test;%0A%0A
 %0A/**%0A * 
@@ -1118,22 +1118,20 @@
 e %7B%0A
-    
+%09%0A%09%0A%09
 @Test%0A
-    
+%09
 publ
@@ -1175,24 +1175,18 @@
 ption %7B%0A
-        
+%09%09
 final So
@@ -1210,17 +1210,16 @@
 r runner
- 
 = new So
@@ -1269,32 +1269,26 @@
 on Tests%22);%0A
-        
+%09%09
 runner.setSe
@@ -1339,32 +1339,26 @@
 ings.xml%22);%0A
-        
+%09%09
 runner.setPr
@@ -1411,24 +1411,18 @@
 .xml%22);%0A
-        
+%09%09
 runner.s
@@ -1518,26 +1518,20 @@
 %7D);%0A
-        
+%09%09
 assertT
-hat
+rue
 (run
@@ -1543,25 +1543,14 @@
 un()
-, is(true));%0A    %7D
+);%0A%09%7D%0A%09
 %0A%7D%0A

Remove use of deprecated function