Interface SnapshotDsl.ChooseActual

    • 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'!