public static TestClassNested GetTestObject()
 {
     return(new TestClassNested
     {
         VarA = TestClassOnlyInts.GetTestObject(),
         VarB = TestClassOnlyStrings.GetTestObject(),
         VarC = new List <TestClassOnlyInts>
         {
             TestClassOnlyInts.GetTestObject(),
             TestClassOnlyInts.GetTestObject()
         },
         VarD = new []
         {
             TestClassOnlyInts.GetTestObject(),
             TestClassOnlyInts.GetTestObject()
         }
     });
 }
        public void TestClassOnlyStringsToObject()
        {
            var obj = Converter.DeserializeObject <TestClassOnlyStrings>(TestClassOnlyStrings.ArmaArray);

            obj.ShouldBeEquivalentTo(TestClassOnlyStrings.GetTestObject());
        }
 public void TestClassOnlyStringsToArmaArray()
 {
     Assert.AreEqual(TestClassOnlyStrings.ArmaArray, Converter.SerializeObject(TestClassOnlyStrings.GetTestObject()));
 }