public WorkbookTestDouble(ApplicationTestDouble application, WindowTestDouble window) { Application = application; Windows = new WindowsTestDouble(application) { window }; }
public ApplicationTestDouble(Version version) { Workbooks = new WorkbooksTestDouble(this); Windows = new WindowsTestDouble(this) { new WindowTestDouble() }; Version = version.ToString(); }