Search in sources :

Example 16 with LocalExecutor

use of com.axway.ats.agent.webapp.client.executors.LocalExecutor in project ats-framework by Axway.

the class Test_LocalExecutor method backupPositive.

@Test
public void backupPositive() throws Exception {
    expect(EnvironmentHandler.getInstance()).andReturn(mockEnvironmentHandler);
    mockEnvironmentHandler.backup(TEST_COMPONENT_NAME, null, null);
    replayAll();
    LocalExecutor localExecutor = new LocalExecutor();
    localExecutor.backup(TEST_COMPONENT_NAME, null, null);
}
Also used : LocalExecutor(com.axway.ats.agent.webapp.client.executors.LocalExecutor) PrepareForTest(org.powermock.core.classloader.annotations.PrepareForTest) Test(org.junit.Test)

Aggregations

LocalExecutor (com.axway.ats.agent.webapp.client.executors.LocalExecutor)16 RemoteExecutor (com.axway.ats.agent.webapp.client.executors.RemoteExecutor)10 PublicAtsApi (com.axway.ats.common.PublicAtsApi)9 Test (org.junit.Test)6 PrepareForTest (org.powermock.core.classloader.annotations.PrepareForTest)6 ActionRequest (com.axway.ats.agent.core.action.ActionRequest)3 AbstractClientExecutor (com.axway.ats.agent.webapp.client.executors.AbstractClientExecutor)1