public void Given_an_actor_that_uses_non_generic_and_predicates_When_sending_different_messages_Then_correct_handler_should_be_invoked()
{
//Given
var system = ActorSystem.Create("test");
var actor = system.ActorOf<TypePredicatesActor>("predicates");
//When
actor.Tell(0, TestActor);
actor.Tell(5, TestActor);
actor.Tell(10, TestActor);
actor.Tell(15, TestActor);
actor.Tell("hello", TestActor);
//Then
ExpectMsg((object) "int<5:0");
ExpectMsg((object) "int<10:5");
ExpectMsg((object) "int<15:10");
ExpectMsg((object) "int:15");
ExpectMsg((object) "string:hello");
}