public void TrainLocationTimeEditFormModelClass_Constructor_SetsValidNotesPropertyToEqualSecondParameter_IfSecondParameterIsNotNull() { LocationCollection testParam0 = new LocationCollection(); List <Note> testParam1 = new List <Note>(); TrainLocationTimeEditFormModel testOutput = new TrainLocationTimeEditFormModel(testParam0, testParam1); Assert.AreSame(testParam1, testOutput.ValidNotes); }
public void TrainLocationTimeEditFormModelClass_Constructor_SetsValidLocationsPropertyToEqualFirstParameter_IfFirstParameterIsNull() { LocationCollection testParam0 = null; List <Note> testParam1 = new List <Note>(); TrainLocationTimeEditFormModel testOutput = new TrainLocationTimeEditFormModel(testParam0, testParam1); Assert.IsNull(testOutput.ValidLocations); }