Package de.skuzzle.test.snapshots
Interface SnapshotDsl.ChooseStructure
-
- All Superinterfaces:
SnapshotDsl.ChooseAssertions
- Enclosing interface:
- SnapshotDsl
@API(status=STABLE) public static interface SnapshotDsl.ChooseStructure extends SnapshotDsl.ChooseAssertions
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SnapshotTestResultmatchesSnapshotStructure()Asserts that the serialized actual test result structurally matches the persisted snapshot.-
Methods inherited from interface de.skuzzle.test.snapshots.SnapshotDsl.ChooseAssertions
disabled, disabledBecause, justUpdateSnapshot, matchesAccordingTo, matchesSnapshotText
-
-
-
-
Method Detail
-
matchesSnapshotStructure
SnapshotTestResult matchesSnapshotStructure()
Asserts that the serialized actual test result structurally matches the persisted snapshot. This method delegates to theStructuralAssertionsinstance in place- Returns:
- Details about the snapshot.
- Throws:
java.lang.AssertionError- If the serialized objects do not match according toStructuralAssertions.assertEquals(String, String)or if snapshots have been updated.
-
-