public DataReturnVersionFromXmlBuilder( IDataReturnVersionBuilder dataReturnVersionBuilder, ISchemeApprovalNumberMismatch schemeApprovalNumberMismatch) { Guard.ArgumentNotNull(() => dataReturnVersionBuilder, dataReturnVersionBuilder); this.dataReturnVersionBuilder = dataReturnVersionBuilder; this.schemeApprovalNumberMismatch = schemeApprovalNumberMismatch; }
public DataReturnVersionFromXmlBuilder( IDataReturnVersionBuilder dataReturnVersionBuilder, ISchemeApprovalNumberMismatch schemeApprovalNumberMismatch) { Guard.ArgumentNotNull(() => dataReturnVersionBuilder, dataReturnVersionBuilder); this.dataReturnVersionBuilder = dataReturnVersionBuilder; this.schemeApprovalNumberMismatch = schemeApprovalNumberMismatch; }
public DataReturnVersionFromXmlBuilderHelper(string schemeApprovalNumber) { DataReturnVersionBuilder = A.Fake <IDataReturnVersionBuilder>(); SchemeApprovalNumberMismatch = A.Fake <ISchemeApprovalNumberMismatch>(); Scheme scheme = new Scheme(new Guid("FE4056B3-F892-476E-A4AB-7C111AE1EF14")); scheme.UpdateScheme( "Test scheme", schemeApprovalNumber, "1B1S", ObligationType.Both, new Guid("C5D400BE-0CE7-43D7-BD7B-B7936967E500")); A.CallTo(() => DataReturnVersionBuilder.Scheme).Returns(scheme); }
public DataReturnVersionFromXmlBuilderHelper(string schemeApprovalNumber) { DataReturnVersionBuilder = A.Fake<IDataReturnVersionBuilder>(); SchemeApprovalNumberMismatch = A.Fake<ISchemeApprovalNumberMismatch>(); Scheme scheme = new Scheme(new Guid("FE4056B3-F892-476E-A4AB-7C111AE1EF14")); scheme.UpdateScheme( "Test scheme", schemeApprovalNumber, "1B1S", ObligationType.Both, new Guid("C5D400BE-0CE7-43D7-BD7B-B7936967E500")); A.CallTo(() => DataReturnVersionBuilder.Scheme).Returns(scheme); }