@Test
void equals() {

    final Blocked b = new Blocked(2, Money.from(10), Rating.D);
    assertThat(b).isEqualTo(b);
    assertThat(b).isNotEqualTo(null);
    assertThat(b).isNotEqualTo("");
    final Blocked sameB = new Blocked(2, Money.from(10), Rating.D);
    assertThat(sameB).isEqualTo(b);
    final Blocked differentB = new Blocked(2, Money.from(1), Rating.D);
    assertThat(differentB).isNotEqualTo(b);
}