Skip to content

samePropertyValuesAs works only with Java Bean object #5

@lvguowei

Description

@lvguowei

assertThat(sniper.getSnapshot(), samePropertyValuesAs(SniperSnapshot.joining(ITEM_ID)));

samePropertyValuesAs only works with Java Bean objects (private fields with getters and setters), since SniperSnapshot is not, I think this test will always pass.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions