public void PopulateCanAddItemsBasedOnPreviousItemTest() { var actual = new int[15]; var executeStrategy = Model.BuildStrategy.GetExecuteStrategy<List<int>>(); var target = new IncrementingArrayTypeCreator(); var result = (int[]) target.Populate(actual, executeStrategy); var baseValue = result[0]; var expected = new int[actual.Length]; for (var index = 0; index < expected.Length; index++) { expected[index] = baseValue + index; } result.ShouldAllBeEquivalentTo(expected); }