public void shouldExportDatabase() { var bootstapperMock = new Mock<IBootStrapper>(MockBehavior.Strict); bootstapperMock.Setup(x => x.ExportDataBaseSchema()); new SchemaExportEngine(bootstapperMock.Object).Export(); bootstapperMock.VerifyAll(); }