Exemplo n.º 1
0
        public void EnsureJournal_ShouldCallCreateJournal()
        {
            var mockJournal = new FakeJournal();
            var subject     = new Migrator(mockJournal, Mock.Of <IMigrationsProvider>(), Mock.Of <IProgressReporter>());

            subject.EnsureJournal();

            Assert.That(mockJournal.IsCreated);
        }