@Test
public void sendingApproveCoffeeShouldResultInStoppingGuestWhenLimitReached() {

    new JavaTestKit(system) {{
        ActorRef coffeeHouse = system.actorOf(CoffeeHouse.props(1), "guest-terminated");
        coffeeHouse.tell(new CoffeeHouse.CreateGuest(new Coffee.Akkaccino(), Integer.MAX_VALUE), ActorRef.noSender());
        ActorRef guest = expectActor(this, "/user/guest-terminated/$*");
        watch(guest);
        coffeeHouse.tell(new CoffeeHouse.ApproveCoffee(new Coffee.Akkaccino(), guest), ActorRef.noSender());
        expectTerminated(guest);
    }};
}