@Test
void equals() {

    Money first = Money.from(1, Defaults.CURRENCY);
    Money second = Money.from(1, Defaults.CURRENCY);
    Money third = Money.from(2, Defaults.CURRENCY);
    assertSoftly(softly -> {
        softly.assertThat(first)
            .isEqualTo(first);
        softly.assertThat(first)
            .isEqualTo(second);
        softly.assertThat(second)
            .isEqualTo(first);
        softly.assertThat(first)
            .isNotEqualTo(third);
        softly.assertThat(third)
            .isNotEqualTo(first);
        softly.assertThat(first)
            .isNotEqualTo(null);
        softly.assertThat(first)
            .isNotEqualTo(UUID.randomUUID()
                .toString());
    });
}