public void MapStringToClassSuccessMultipleProperties()
        {
            JsonMapperService jsonMapperService = new JsonMapperService();
            const string inputString = "{\"Key\":\"TestKey\", \"Value\":\"TestValue\"}";

            TestModel model = jsonMapperService.MapStringToClass<TestModel>(inputString);

            Assert.IsTrue(model.Key.Equals("TestKey") && model.Value.Equals("TestValue"));
        }
        public void MapStringToClassSuccessMultipleProperties()
        {
            JsonMapperService jsonMapperService = new JsonMapperService();
            const string      inputString       = "{\"Key\":\"TestKey\", \"Value\":\"TestValue\"}";

            TestModel model = jsonMapperService.MapStringToClass <TestModel>(inputString);

            Assert.IsTrue(model.Key.Equals("TestKey") && model.Value.Equals("TestValue"));
        }
        public void MapStringToClassSuccessSingleProperty()
        {
            JsonMapperService jsonMapperService = new JsonMapperService();
            const string inputString = "{\"Key\":\"TestKey\"}";

            TestModel model = jsonMapperService.MapStringToClass<TestModel>(inputString);

            Assert.IsTrue(model.Key.Equals("TestKey"));
        }
        public void MapStringToClassSuccessSingleProperty()
        {
            JsonMapperService jsonMapperService = new JsonMapperService();
            const string      inputString       = "{\"Key\":\"TestKey\"}";

            TestModel model = jsonMapperService.MapStringToClass <TestModel>(inputString);

            Assert.IsTrue(model.Key.Equals("TestKey"));
        }