|
6 | 6 | import io.iworkflow.core.ClientSideException;
|
7 | 7 | import io.iworkflow.core.ImmutableStopWorkflowOptions;
|
8 | 8 | import io.iworkflow.core.ImmutableWorkflowOptions;
|
9 |
| -import io.iworkflow.core.ImplementationException; |
10 | 9 | import io.iworkflow.gen.models.*;
|
11 | 10 | import io.iworkflow.integ.persistence.BasicPersistenceWorkflow;
|
12 | 11 | import io.iworkflow.integ.rpc.DeadEndStateWorkflow;
|
13 | 12 | import io.iworkflow.integ.rpc.NoStateWorkflow;
|
14 | 13 | import io.iworkflow.integ.rpc.RpcWorkflow;
|
15 | 14 | import io.iworkflow.integ.rpc.RpcWorkflowState2;
|
16 |
| -import io.iworkflow.integ.rpc.RpcWorkflowWithFinalRpc; |
17 | 15 | import io.iworkflow.spring.TestSingletonWorkerService;
|
18 | 16 | import io.iworkflow.spring.controller.WorkflowRegistry;
|
19 | 17 | import org.junit.jupiter.api.Assertions;
|
@@ -335,17 +333,4 @@ public void testSignalChannelSizeInfo(){
|
335 | 333 | Assertions.assertEquals(3, size2);
|
336 | 334 |
|
337 | 335 | }
|
338 |
| - |
339 |
| - @Test |
340 |
| - public void testImplementationException() { |
341 |
| - final Client client = new Client(WorkflowRegistry.registry, ClientOptions.localDefault); |
342 |
| - final String wfId = "implementation-exception-test-id" + System.currentTimeMillis() / 1000; |
343 |
| - final Integer input = 5; |
344 |
| - try { |
345 |
| - client.startWorkflow(RpcWorkflowWithFinalRpc.class, wfId, input, null); |
346 |
| - } catch (ImplementationException e) { |
347 |
| - return; |
348 |
| - } |
349 |
| - Assertions.fail("An RPC method must not be final"); |
350 |
| - } |
351 | 336 | }
|
0 commit comments