public UnitType Execute(IUpdateContext <Counter2> context) { context.Logger.LogDebug($"IncrementThenRead({CounterId}) Start"); { { Assert.Equal(0, context.State.Count); } context.PerformUpdate(new IncrementUpdate() { CounterId = CounterId }); { Assert.Equal(1, context.State.Count); } } context.Logger.LogDebug($"IncrementThenRead({CounterId}) End"); return(UnitType.Value); }