Package de.skuzzle.test.snapshots
Interface SnapshotDsl.ChooseActual
-
- All Known Subinterfaces:
SnapshotDsl.ChooseName,SnapshotDsl.Snapshot
- Enclosing interface:
- SnapshotDsl
@API(status=STABLE) public static interface SnapshotDsl.ChooseActual
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SnapshotDsl.ChooseDataFormatassertThat(Object actual)Will create a serialized snapshot of the provided actual test result and store it on disk.
-
-
-
Method Detail
-
assertThat
SnapshotDsl.ChooseDataFormat assertThat(Object actual)
Will create a serialized snapshot of the provided actual test result and store it on disk. Note that the actual object is expected to be non-null. If it is null, an AssertionError will be raised when calling any of the final matches... methods on the snapshot DSL instance.- Parameters:
actual- The actual test result.- Returns:
- Fluent API object for choosing the snapshot format. Do NOT assume it is the same object as 'this'!
-
-