private void CloseChannel_WithChildren_WaitsForAllChildrenStop()
{
// Arrange
var channel = Sys.InterfacedActorOf(() => new TestActorBoundChannel(context =>
new[] { Tuple.Create(context.ActorOf<DummyEventActor>(null), new TaggedType[] { typeof(IDummy) }, ActorBindingFlags.CloseThenNotification) })).Cast<ActorBoundChannelRef>();
// Act
channel.WithNoReply().Close();
Watch(channel.CastToIActorRef());
ExpectTerminated(channel.CastToIActorRef());
}