Class BadOperation

  • All Implemented Interfaces:
    FHIROperation

    public class BadOperation
    extends AbstractOperation
    This class will test what happens if there is a bad OperationDefinition defined for a custom operation.
    There is no corresponding testcase as the Java ServiceLoader (SPI) mechanism
    will automatically load this service if it is configured as a service provider and available on the classpath.
    The expected result is:
    1. to see an error/message explaining why this service was not loaded
    2. for other operations to continue working