Class ServiceManagerTest.AvailableTrue

java.lang.Object
test.de.iip_ecosphere.platform.services.ServiceManagerTest.AvailableTrue
All Implemented Interfaces:
Predicate<de.iip_ecosphere.platform.services.TypedDataConnectorDescriptor>
Enclosing class:
ServiceManagerTest

private static class ServiceManagerTest.AvailableTrue extends Object implements Predicate<de.iip_ecosphere.platform.services.TypedDataConnectorDescriptor>
Availability predicate that always returns true and records tested connection names.
Author:
Holger Eichelberger, SSE
  • Field Details

  • Constructor Details

    • AvailableTrue

      private AvailableTrue()
  • Method Details

    • test

      public boolean test(de.iip_ecosphere.platform.services.TypedDataConnectorDescriptor conn)
      Specified by:
      test in interface Predicate<de.iip_ecosphere.platform.services.TypedDataConnectorDescriptor>
    • assertTested

      public void assertTested(String... expected)
      Asserts that expected connection names have been tested in #test(TypedDataConnectorDescriptor) before. Clears tested.
      Parameters:
      expected - the expected connection names