@Test
public void shouldThrowFrustratedExceptionWhenMaxComplaintReached() {

  new JavaTestKit(system) {{
    ActorRef waiter = system.actorOf(Waiter.props(system.deadLetters(), system.deadLetters(), 0));
    eventFilter(this, Waiter.FrustratedException.class, "", 1, () -> {
      waiter.tell(new Waiter.Complaint(new Coffee.Akkaccino()), ActorRef.noSender());
    });
  }};
}