public async Task Test_NotBoundActor_Fail()
{
var actorBoundChannel = ActorOfAsTestActorRef<TestActorBoundChannel>(
Props.Create(() => new TestActorBoundChannel(CreateInitialActor)));
var user = _actorBoundChannel.CreateRef<UserRef>(2);
await Assert.ThrowsAsync<InvalidOperationException>(async () =>
{
await user.GetId();
});
}