public void InterfaceSerialize_ListOfInterfaces()
        {
            var mock = CollectionMocks.GetListOfInterfacesMock();

            var result = SerializeJson(mock.TestObject, mock.typeToConvert);

            Assert.IsNotNull(result);
            Assert.AreEqual(GetNormalizedJson(mock.JsonData), result);
        }
        public void InterfaceDeserialize_ListOfInterfaces()
        {
            var mock = CollectionMocks.GetListOfInterfacesMock();

            var result = DeserializeJson <List <INested2> >(mock.JsonData, mock.typeToConvert);

            Assert.IsNotNull(result);
            Assert.IsTrue(result.Count == 2);
            Assert.AreEqual("Test", result[0].Param1);
            Assert.AreEqual("Test2", result[1].Param1);
        }