Class ProcessorProxyMock

java.lang.Object
one.x1f.sip.foundation.testkit.workflow.givenphase.Mock
one.x1f.sip.foundation.testkit.workflow.givenphase.ProcessorProxyMock

@Component @Scope("prototype") public class ProcessorProxyMock extends Mock
Creates and defines behaviour for Camel based external service mocks
  • Constructor Details

    • ProcessorProxyMock

      public ProcessorProxyMock()
  • Method Details

    • setBehavior

      public void setBehavior(TestExecutionStatus testExecutionStatus)
      Sets a mock operation on a proxy
      Specified by:
      setBehavior in class Mock
      Parameters:
      testExecutionStatus - that the mock should fill with details of the test run
    • clear

      public void clear()
      Description copied from class: Mock
      Clear previously set behaviour for mock.
      Specified by:
      clear in class Mock