public final class TestDocument extends Object
| Constructor and Description |
|---|
TestDocument(String sFilename,
ErrorDefinition... aExpectedErrors) |
| Modifier and Type | Method and Description |
|---|---|
com.helger.commons.collection.impl.ICommonsSet<ErrorDefinition> |
getAllExpectedErrors() |
String |
getFilename() |
boolean |
hasExpectedErrors() |
String |
toString() |
public TestDocument(@Nonnull @Nonempty String sFilename, @Nullable ErrorDefinition... aExpectedErrors)
@Nonnull @Nonempty public String getFilename()
null
nor empty.@Nonnull @ReturnsMutableCopy public com.helger.commons.collection.impl.ICommonsSet<ErrorDefinition> getAllExpectedErrors()
null but maybe
empty.public boolean hasExpectedErrors()
true if at least one expected error is containedCopyright © 2015–2020 Philip Helger. All rights reserved.