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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidassertTested(String... expected) Asserts thatexpectedconnection names have been tested in#test(TypedDataConnectorDescriptor)before.booleantest(de.iip_ecosphere.platform.services.TypedDataConnectorDescriptor conn)
-
Field Details
-
tested
-
-
Constructor Details
-
AvailableTrue
private AvailableTrue()
-
-
Method Details
-
test
public boolean test(de.iip_ecosphere.platform.services.TypedDataConnectorDescriptor conn) -
assertTested
Asserts thatexpectedconnection names have been tested in#test(TypedDataConnectorDescriptor)before. Clearstested.- Parameters:
expected- the expected connection names
-