public void GivenIHaveSuppliedAReasonablyComplexPOCO() {
     _reasonablyComplexObject = new ReasonablyComplexObject {
         Name = "Reasonably Complex Object",
         Count = 100,
         Strings = new List<string> {"One", "Two", "Three"},
         Floats = new[] {1f, 2f, 3f}, Level2 = new Level2 {
             Name = "Level2",
             Description = "Level #2",
             Count = 2,
             Strings = new List<string> {
                 "One", "Two", "Three"
             },
             Level3 = new Level3 {
                 Name = "Level3",
                 Description = "Level #3",
                 Count = 3
             }
         }
     };
 }
Example #2
0
 public void GivenIHaveSuppliedAReasonablyComplexPOCO()
 {
     _reasonablyComplexObject = new ReasonablyComplexObject {
         Name    = "Reasonably Complex Object",
         Count   = 100,
         Strings = new List <string> {
             "One", "Two", "Three"
         },
         Floats = new[] { 1f, 2f, 3f }, Level2 = new Level2 {
             Name        = "Level2",
             Description = "Level #2",
             Count       = 2,
             Strings     = new List <string> {
                 "One", "Two", "Three"
             },
             Level3 = new Level3 {
                 Name        = "Level3",
                 Description = "Level #3",
                 Count       = 3
             }
         }
     };
 }