public void SerializeColumnActorTest()
        {
            ColumnActor col1 = new ColumnActor(1);

            var json = TableStoragePersistenceProvider.SerializeActor(col1);

            ColumnActor col2 = TableStoragePersistenceProvider.DeserializeActor <ColumnActor>(json);

            Assert.IsTrue(col2.Col.Index == col1.Col.Index);
        }
        public void SerializeActorTest()
        {
            CounterActor act1 = new CounterActor(new ActorId(1));

            act1.Counter = 42;

            var json = TableStoragePersistenceProvider.SerializeActor(act1);

            CounterActor act2 = TableStoragePersistenceProvider.DeserializeActor <CounterActor>(json);

            Assert.IsTrue(act2.Counter == act1.Counter);
        }