コード例 #1
0
        public static async Task <T> ExpectMsgAsync <T>(this TestKitBase testKit, Predicate <T> predicate, string hint = null)
        {
            await testKit.Sys.Idle();

            return(testKit.ExpectMsg(predicate, TimeSpan.Zero, hint));
        }
コード例 #2
0
        public static async Task <T> ExpectMsgAsync <T>(this TestKitBase testKit, Action <T> assertion, string hint = null)
        {
            await testKit.Sys.Idle();

            return(testKit.ExpectMsg(assertion, TimeSpan.Zero, hint));
        }
コード例 #3
0
        public async Task <T> ExpectMsg <T>()
        {
            await SystemIdle;

            return(_akkaTestKit.ExpectMsg <T>(TimeSpan.Zero));
        }