Some of the first code you’ll want to write is a test, to make sure the logic in your Grains is correct.
As we have discussed in this book, Grains are hosted by Silos, which provide turn-based concurrency, so to correctly test a grains, we need to use a Silos or a cluster of Silos.
Orleans makes this easy for us by providing a Test Cluster, which carries the same semantics as a real Silos, but without such a configuration burden.
In this chapter, we will write a unit test which will use the Test Cluster to send messages to ...