public void Should_get_latest_delta_as_no_delta_when_the_database_is_fresh()
        {
            const string connectionString = "xcc://admin:[email protected]:9001";
            DeleteTheLatestDeltaInTheDatabase();

            Delta latestDelta = new DeployRepository(connectionString, null).GetLatestDeltaInDatabase();

            Assert.IsInstanceOf(typeof(NoDelta), latestDelta);
        }
        public void Should_get_latest_delta_when_there_is_an_existing_delta_in_the_database_without_any_description()
        {
            const string connectionString = "xcc://admin:[email protected]:9001";
            SetupLatestDeltaAs(10L);
            Delta latestDelta = new DeployRepository(connectionString, null).GetLatestDeltaInDatabase();
            Assert.That(typeof(Delta) ==  latestDelta.GetType());
            Assert.AreEqual(10L, latestDelta.Number);
            Assert.AreEqual(string.Empty, latestDelta.Description);

            DeleteTheLatestDeltaInTheDatabase();
        }