public async Task TestWordCountStateInDownStreamGrains() { await SetUpSource(); await source.ProduceMessageAsync(wordCountMessage1); Thread.Sleep(100); int count = await source.GetState(new StreamMessage(wordCountMessage1.Key, "go")); Assert.AreEqual(3, count); }