public async void Wraparound() { var Emitter = new Enumerate("Reindeer"); // There are only 8 reindeer, so 11 should wrap-around to the third var msg1 = new Step { Number = 11 }; var vixen = await Emitter.HandleMessage(msg1); Assert.IsType <StringMessage>(vixen); Assert.Equal("Vixen", ((StringMessage)vixen).Value); }