public void InitShouldReportSuccessWithEpamDefaultProject()
            {
                ProvideParametersToConfig("https://rp.epam.com/api/v1/", "default_project", "7853c7a9-7f27-43ea-835a-cab01355fd17");
                _publisher.Init();

                string res = _publisher.GetLastError();

                Assert.AreEqual(res, "Init: success");
            }
            public void ItShouldBeEmptyInAColdStart()
            {
                var publisher = new ReportPortalPublisher(A.Dummy <IConfiguration>());

                var res = publisher.GetLastError();

                Assert.IsEmpty(res);
            }
            public void ItShouldReportAnErrorWithInvalidParameters()
            {
                var publisher = new ReportPortalPublisher(A.Dummy <IConfiguration>());

                publisher.StartLaunch(_launchName, Mode.Debug, "tag1;tag2");

                string res = publisher.GetLastError();

                Assert.That(res, Is.Not.EqualTo("success").And.Not.Empty);
            }