/// <summary>Handles the Click event of the bCreateObject control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param> private void bCreateObject_Click(object sender, EventArgs e) { SimpleDataObject simpleDataObject = new SimpleDataObject(); InfoOutput infoOutput = new InfoOutput(); simpleDataObject.FillInfoOutput(infoOutput); InfoOutputPackage generalPackage = infoOutput.GetGeneralPackage(); InfoOutputParentChildDataTable parentChildDataTable = generalPackage.GetParentChildDataTable("ParentTable"); InitializeDataGridViews(parentChildDataTable); }
public void GetGeneralPackage_noArgument_IsNotNull() { InfoOutputPackage generalPackage = m_InfoOutput.GetGeneralPackage(); Assert.That(generalPackage, Is.Not.Null); }