public final class SliceAssertions extends Object
Classpath cp = new Classpath();
Clazz me = cp.asClazz(this.getClass());
Root root = cp.rootOf(Test.class);
SliceAssertions.dessert(me).usesNot(root);
| Modifier and Type | Method and Description |
|---|---|
static SliceAssert |
dessert(Iterable<? extends Slice> slices)
Starts an assertion for slices passed.
|
static SliceAssert |
dessert(Map<String,? extends Slice> slices)
An other convenience method to specify slices for assertions.
|
static SliceAssert |
dessert(Slice... slices)
An convenience method to specify slices for assertions.
|
public static SliceAssert dessert(Iterable<? extends Slice> slices)
slices - the slices to verify the assertion forSliceAssert object that provides a fluent api to specify the assertionspublic static SliceAssert dessert(Slice... slices)
slices - the slices to verify the assertion forSliceAssert object that provides a fluent api to specify the assertionspublic static SliceAssert dessert(Map<String,? extends Slice> slices)
slices - the slices to verify the assertion forSliceAssert object that provides a fluent api to specify the assertionsCopyright © 2017–2021 Hans Jörg Heßmann. All rights reserved.