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 TestClassOnlyIntsToObject()
        {
            var obj = Converter.DeserializeObject <TestClassOnlyInts>(TestClassOnlyInts.ArmaArray);

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