Exemplo n.º 1
0
        public void GetStateData_ReturnsCorrectData()
        {
            var state = new ProcessingState("Server1");

            DictionaryAssert.ContainsFollowingItems(
                new Dictionary<string, string>
                {
                    { "StartedAt", "<UtcNow timestamp>" },
                    { "ServerName", "Server1" },
                },
                state.Serialize());
        }