Interface SnapshotDsl.ChooseStructure

    • Method Detail

      • matchesSnapshotStructure

        SnapshotTestResult matchesSnapshotStructure()
        Asserts that the serialized actual test result structurally matches the persisted snapshot. This method delegates to the StructuralAssertions instance in place
        Returns:
        Details about the snapshot.
        Throws:
        java.lang.AssertionError - If the serialized objects do not match according to StructuralAssertions.assertEquals(String, String) or if snapshots have been updated.