@Test
void equals() {

    final SessionInfo s = new SessionInfoImpl("someone@somewhere.cz");
    final SessionInfo s2 = new SessionInfoImpl(UUID.randomUUID()
        .toString());
    final SessionInfo s3 = new SessionInfoImpl("someone@somewhere.cz");
    assertSoftly(softly -> {
        softly.assertThat(s)
            .isNotEqualTo(null);
        softly.assertThat(s)
            .isNotEqualTo(UUID.randomUUID()
                .toString());
        softly.assertThat(s)
            .isEqualTo(s);
        softly.assertThat(s)
            .isNotEqualTo(s2);
        softly.assertThat(s2)
            .isNotEqualTo(s);
        softly.assertThat(s)
            .isEqualTo(s3);
        softly.assertThat(s3)
            .isEqualTo(s);
    });
}