@Test
public void should_throw_TicketException_given_ticket_is_not_AVAILABLE() {

    Ticket ticket = new Ticket(TicketId.next(), trainingId, TicketStatus.WaitForConfirm);
    assertThatThrownBy(() -> ticket.nominate(candidate, nominator))
            .isInstanceOf(TicketException.class)
            .hasMessageContaining("ticket is not available");
}