Class ModuleContainerGroupAssert
java.lang.Object
org.assertj.core.api.AbstractAssert<ModuleContainerGroupAssert,ModuleContainerGroup>
io.github.ascopes.jct.assertions.AbstractContainerGroupAssert<ModuleContainerGroupAssert,ModuleContainerGroup>
io.github.ascopes.jct.assertions.ModuleContainerGroupAssert
- All Implemented Interfaces:
Assert<ModuleContainerGroupAssert,
,ModuleContainerGroup> Descriptable<ModuleContainerGroupAssert>
,ExtensionPoints<ModuleContainerGroupAssert,
ModuleContainerGroup>
public final class ModuleContainerGroupAssert
extends AbstractContainerGroupAssert<ModuleContainerGroupAssert,ModuleContainerGroup>
Assertions for module container groups.
- Since:
- 0.0.1
- Author:
- Ashley Scopes
-
Field Summary
Fields inherited from class org.assertj.core.api.AbstractAssert
actual, info, myself, objects, throwUnsupportedExceptionOnEquals
-
Constructor Summary
ConstructorDescriptionModuleContainerGroupAssert
(@Nullable ModuleContainerGroup containerGroup) Initialize the container group assertions. -
Method Summary
Modifier and TypeMethodDescriptionmoduleDoesNotExist
(String module) Assert that the given module does not exist.moduleExists
(String module) Assert that the given module exists and then return assertions to perform on that module.Methods inherited from class io.github.ascopes.jct.assertions.AbstractContainerGroupAssert
location, services
Methods inherited from class org.assertj.core.api.AbstractAssert
areEqual, asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, doesNotHaveSameHashCodeAs, doesNotHaveToString, doesNotHaveToString, equals, extracting, extracting, failure, failureWithActualExpected, failWithActualExpectedAndMessage, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, hasToString, inBinary, inHexadecimal, is, isElementOfCustomAssert, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isInstanceOfSatisfying, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, matches, matches, newListAssertInstance, overridingErrorMessage, overridingErrorMessage, satisfies, satisfies, satisfies, satisfiesAnyOf, satisfiesAnyOf, satisfiesAnyOfForProxy, satisfiesForProxy, setCustomRepresentation, setDescriptionConsumer, setPrintAssertionsDescription, throwAssertionError, usingComparator, usingComparator, usingDefaultComparator, usingRecursiveAssertion, usingRecursiveAssertion, usingRecursiveComparison, usingRecursiveComparison, withFailMessage, withFailMessage, withRepresentation, withThreadDumpOnError
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.assertj.core.api.Descriptable
as, as, as, describedAs, describedAs
-
Constructor Details
-
ModuleContainerGroupAssert
Initialize the container group assertions.- Parameters:
containerGroup
- the container group to assert upon.
-
-
Method Details
-
moduleExists
Assert that the given module exists and then return assertions to perform on that module.- Parameters:
module
- the module name.- Returns:
- the assertions to perform on the package container group.
- Throws:
AssertionError
- if the container group is null or if the module does not exist.NullPointerException
- if the module parameter is null.
-
moduleDoesNotExist
Assert that the given module does not exist.- Parameters:
module
- the module name.- Returns:
- this assertion object for further assertion calls.
- Throws:
AssertionError
- if the container group is null or if the module exists.NullPointerException
- if the module parameter is null.
-