}
@Test
public void testBoomActor() {
final TestActorRef child = TestActorRef.apply(
new Props(BoomActor.class), _system);
try {
child.receive("do something");
// should not reach here
Assert.assertTrue(false);
} catch (IllegalArgumentException e) {
Assert.assertEquals(e.getMessage(), "boom!");
}