public void CheckIfEmailingAttachement_ReturnsResponseMessage()
        {
            string nameOfExchangeserver = @"https://outlook.nhs.net/EWS/exchange.asmx";

            ModelLoginDetails login = new ModelLoginDetails
                                          {
                                              Domain = string.Empty,
                                              ExchangeServerAddress = @"https://outlook.nhs.net/EWS/exchange.asmx",
                                              Password = "",
                                              UserName = "******"
                                          };

            SendEmail send = new SendEmail(login);

            BodyType type = new BodyType();
            type.BodyType1 = BodyTypeType.Text;

            send.DetailsWithAttachment(
                new ModelEmailDetails
                    {
                        SubjectOfEmail = "This is the Subject of the Email",
                        BodyOfEmail = "This is the body of the Email",
                        SenderEmail = "*****@*****.**",
                        RecepientEmail = "*****@*****.**",
                        AttachmentLocation = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments),
                                                    @"GitHub\NhsCommissioningMailer\CommissioningMailer\SampleData\") + "Surgery.csv",
                        BodyType = type,
                        ContentType = "text/comma-separated-values"
                    });

            Assert.True(send.ResponseMessage.Contains("NoError"));
        }