Exemplo n.º 1
0
        public static async Task <T> LoadAggregateByActor <T>(this TestKit kit, string id) where T : Aggregate
        {
            var name  = EntityActorName.New <T>(id).ToString();
            var actor = await kit.LoadActor <AggregateActor <T> >(name);

            return(actor.State);
        }