public final class AssertSupport extends Object
| Modifier | Constructor and Description |
|---|---|
private |
AssertSupport()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
assertValidComponentInfo(net.shibboleth.metadata.Item<?> metadataElement,
int expectedComponentInfos,
Class<? extends net.shibboleth.utilities.java.support.component.Component> expectedComponentType,
String expectedComponentId)
Checks that the given metadata element contains
ComponentInfo information. |
public static void assertValidComponentInfo(net.shibboleth.metadata.Item<?> metadataElement,
int expectedComponentInfos,
Class<? extends net.shibboleth.utilities.java.support.component.Component> expectedComponentType,
String expectedComponentId)
ComponentInfo information.metadataElement - element to check, never nullexpectedComponentInfos - number of ComponentInfos expected on the element, must be greater than 0expectedComponentType - type of Component that created that ComponentInfo, never nullexpectedComponentId - ID of the Component that created that ComponentInfo, never nullCopyright © 1999–2015. All rights reserved.