Akka.Interfaced.LogFilter.Tests.LogFilterTest.Test_Paramter_And_Result C# (CSharp) Method

Test_Paramter_And_Result() private method

private Test_Paramter_And_Result ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task
        public async Task Test_Paramter_And_Result()
        {
            ClearLogger();

            var actor = ActorOfAsTestActorRef<TestActor>(Props.Create<TestActor>());
            var a = actor.Cast<TestRef>();
            var ret = await a.SayHello("World");
            Assert.Equal("Hello World", ret);

            var logs = GetLogs();
            Assert.Equal(3, logs.Count);
            Assert.Equal("<- (#-1) SayHello {\"name\":\"World\"}", logs[0]);
            Assert.Equal("SayHello(World)", logs[1]);
            Assert.Equal("-> (#-1) SayHello \"Hello World\"", logs[2]);
        }
    }