public void GetNextBuildNumber()
        {
            IHttpAdapter httpAdapter = Mock.Create <IHttpAdapter>();

            Mock.Arrange(() => httpAdapter.Get(Arg.IsAny <string>())).Returns(JenkinsTestData.BuildStatusXml);
            var    jenkinsBuild    = new BuildService(new BuildAdapter(httpAdapter, JenkinsTestData.JenkinsUrl, JenkinsTestData.ProjectName));
            string nextBuildNumber = jenkinsBuild.GetNextBuildNumber();

            Assert.AreEqual <string>(
                "35",
                nextBuildNumber,
                "The returned next build number was not correct.");
        }