Search in sources :

Example 11 with CreateTestOperation

use of com.hazelcast.simulator.worker.operations.CreateTestOperation in project hazelcast-simulator by hazelcast.

the class AgentOperationProcessorTest method testUnknownOperation.

@Test(expected = ProcessException.class)
public void testUnknownOperation() throws Exception {
    CreateTestOperation op = mock(CreateTestOperation.class);
    processor.process(op, source, promise);
}
Also used : CreateTestOperation(com.hazelcast.simulator.worker.operations.CreateTestOperation) Test(org.junit.Test)

Aggregations

CreateTestOperation (com.hazelcast.simulator.worker.operations.CreateTestOperation)11 Test (org.junit.Test)10 TestCase (com.hazelcast.simulator.common.TestCase)9 FailingTest (com.hazelcast.simulator.tests.FailingTest)8 StoppingTest (com.hazelcast.simulator.tests.StoppingTest)8 SuccessTest (com.hazelcast.simulator.tests.SuccessTest)8 StubPromise (com.hazelcast.simulator.protocol.StubPromise)6 StartPhaseOperation (com.hazelcast.simulator.worker.operations.StartPhaseOperation)6 Promise (com.hazelcast.simulator.protocol.Promise)1 AssertTask (com.hazelcast.simulator.utils.AssertTask)1 StopRunOperation (com.hazelcast.simulator.worker.operations.StopRunOperation)1