Interface IUnitTestableService

All Known Subinterfaces:
IFluentService
All Known Implementing Classes:
AbstractFluentService, AbstractGroovyService, FluentDeliveryProcessService, FluentDynamicDataService, FluentEmailService, FluentFormPrefillService, FluentFormSavedProcessor, FluentFormSecurityFilterService, FluentFormVersionSelectorService, FluentFunctionService, FluentGroovyService, FluentJobActionService, FluentMediaTypeScanService, FluentReceiptNumberService, FluentRenderReceiptService, FluentScheduledService, FluentSubmissionCompletedProcessor, FluentSubmissionDataValidator, FluentSubmissionPreprocessor, FluentTaskExpiryService, FluentTrackingNumberService, FluentTransactionHistoryPublisher, FluentVirusScanService, GroovyDeliveryProcessService, GroovyDynamicDataService, GroovyEmailService, GroovyFormPrefillService, GroovyFormSavedProcessor, GroovyFormSecurityFilterService, GroovyFormVersionSelectorService, GroovyReceiptNumberService, GroovyRenderReceiptService, GroovyScheduledService, GroovyServiceImpl, GroovySubmissionCompletedProcessor, GroovySubmissionDataValidator, GroovySubmissionPreprocessor, GroovyTaskExpiryService, GroovyTrackingNumberService, TransactionHistoryPublisherImpl

public interface IUnitTestableService
Provides a Unit Testable Service interface
Since:
4.3.2
  • Method Summary

    Modifier and Type
    Method
    Description
    Return the service Unit Test Script logger output.
    Run the service's Unit Test Script if defined for the service, returning null if succeeded or an error if it failed.
  • Method Details

    • runUnitTest

      Throwable runUnitTest()
      Run the service's Unit Test Script if defined for the service, returning null if succeeded or an error if it failed. If there is no 'Unit Test Script' defined, this method will return null.
      Returns:
      an Exception if the test case failed, or null if the test case succeeded or no 'Unit Test Script' defined.
    • getTestLogOutput

      String getTestLogOutput()
      Return the service Unit Test Script logger output.
      Returns:
      the service Unit Test Script logger output
      Since:
      17.10.0