From c944c4ed3076d913481bcfacbcc6d32a2f2cbd96 Mon Sep 17 00:00:00 2001 From: Quinn Klassen Date: Tue, 15 Oct 2024 17:28:04 -0700 Subject: [PATCH] format --- .../samples/nexus/caller/CallerWorkflowTest.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/core/src/test/java/io/temporal/samples/nexus/caller/CallerWorkflowTest.java b/core/src/test/java/io/temporal/samples/nexus/caller/CallerWorkflowTest.java index 97dfd2ef..21fe2057 100644 --- a/core/src/test/java/io/temporal/samples/nexus/caller/CallerWorkflowTest.java +++ b/core/src/test/java/io/temporal/samples/nexus/caller/CallerWorkflowTest.java @@ -19,6 +19,11 @@ package io.temporal.samples.nexus.caller; +import static org.junit.Assert.assertEquals; +import static org.mockito.ArgumentMatchers.any; +import static org.mockito.Mockito.mock; +import static org.mockito.Mockito.when; + import io.temporal.client.WorkflowOptions; import io.temporal.samples.nexus.handler.HelloHandlerWorkflow; import io.temporal.samples.nexus.handler.NexusServiceImpl; @@ -26,16 +31,10 @@ import io.temporal.testing.TestWorkflowRule; import io.temporal.worker.WorkflowImplementationOptions; import io.temporal.workflow.NexusServiceOptions; +import java.util.Collections; import org.junit.Rule; import org.junit.Test; -import java.util.Collections; - -import static org.junit.Assert.assertEquals; -import static org.mockito.ArgumentMatchers.any; -import static org.mockito.Mockito.mock; -import static org.mockito.Mockito.when; - public class CallerWorkflowTest { @Rule @@ -80,7 +79,8 @@ public void testHelloWorkflow() { @Test public void testEchoWorkflow() { // If Workflows are registered later than the endpoint can be set manually - // either by setting the endpoint in the NexusServiceOptions in the Workflow implementation or by setting the + // either by setting the endpoint in the NexusServiceOptions in the Workflow implementation or + // by setting the // NexusServiceOptions on the WorkflowImplementationOptions when registering the Workflow. testWorkflowRule .getWorker()