public When_a_Lrap1_is_sent() { _fakeEdrsCommunicator = A.Fake <IEdrsCommunicator>(); _sut = new CommsService(_fakeEdrsCommunicator); _lrap1Submission = new SubmitLrap1Command() { ApplicationId = "1234567890", Username = "******", Password = "******", Payload = "Lrap1 Payload Data" }; }
public When_a_Lrap1Attachment_is_sent() { _fakeEdrsCommunicator = A.Fake <IEdrsCommunicator>(); _sut = new CommsService(_fakeEdrsCommunicator); _lrap1AttachmentSubmission = new SubmitLrap1AttachmentCommand() { AttachmentId = "9876543210", ApplicationId = "1234567890", Username = "******", Password = "******", Payload = "Attachment Payload Data" }; }
public When_a_Lrap1Attachment_is_sent() { _fakeEdrsCommunicator = A.Fake<IEdrsCommunicator>(); _sut = new CommsService(_fakeEdrsCommunicator); _lrap1AttachmentSubmission = new SubmitLrap1AttachmentCommand() { AttachmentId = "9876543210", ApplicationId = "1234567890", Username = "******", Password = "******", Payload = "Attachment Payload Data" }; }
public CommsService(IEdrsCommunicator edrsCommunicator) { _edrsCommunicator = edrsCommunicator; }
public When_a_Lrap1_is_sent() { _fakeEdrsCommunicator = A.Fake<IEdrsCommunicator>(); _sut = new CommsService(_fakeEdrsCommunicator); _lrap1Submission = new SubmitLrap1Command() { ApplicationId = "1234567890", Username = "******", Password = "******", Payload = "Lrap1 Payload Data" }; }