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 |
assertThatSlice(Iterable<? extends Slice> slices)
Alias for
dessert(Iterable) |
static SliceAssert |
assertThatSlice(Map<String,? extends Slice> slices)
Alias for
dessert(Map). |
static SliceAssert |
assertThatSlice(Slice... slices)
Alias for
dessert(Slice...) |
static SliceAssert |
assertThatSlices(Iterable<? extends Slice> slices)
Alias for
dessert(Iterable) |
static SliceAssert |
assertThatSlices(Map<String,? extends Slice> slices)
Alias for
dessert(Map). |
static SliceAssert |
assertThatSlices(Slice... slices)
Alias for
dessert(Slice...) |
static SliceAssert |
dessert(Iterable<? extends Slice> slices)
Starts an assertion for slices passed.
|
static SliceAssert |
dessert(Map<String,? extends Slice> slices)
Another convenience method to specify slices for assertions.
|
static SliceAssert |
dessert(Slice... slices)
A 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 assertThatSlice(Iterable<? extends Slice> slices)
dessert(Iterable)slices - the slices to verify the assertion forSliceAssert object that provides a fluent api to specify the assertionspublic static SliceAssert assertThatSlices(Iterable<? extends Slice> slices)
dessert(Iterable)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 assertThatSlice(Slice... slices)
dessert(Slice...)slices - the slices to verify the assertion forSliceAssert object that provides a fluent api to specify the assertionspublic static SliceAssert assertThatSlices(Slice... slices)
dessert(Slice...)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 assertionspublic static SliceAssert assertThatSlice(Map<String,? extends Slice> slices)
dessert(Map).slices - the slices to verify the assertion forSliceAssert object that provides a fluent api to specify the assertionspublic static SliceAssert assertThatSlices(Map<String,? extends Slice> slices)
dessert(Map).slices - the slices to verify the assertion forSliceAssert object that provides a fluent api to specify the assertionsCopyright © 2017–2025 Hans Jörg Heßmann. All rights reserved.