public void Given_actor_with_no_receive_specified_When_receiving_message_Then_it_should_be_unhandled()
{
//Given
var system = ActorSystem.Create("test");
var actor = system.ActorOf<NoReceiveActor>("no-receive-specified");
system.EventStream.Subscribe(TestActor, typeof(UnhandledMessage));
//When
actor.Tell("Something");
//Then
ExpectMsg<UnhandledMessage>(m => ((string)m.Message) == "Something" && m.Recipient == actor);
system.EventStream.Unsubscribe(TestActor, typeof(UnhandledMessage));
}