public void should_use_the_given_logger()
 {
     loggerMock = new Mock<ILog>();
     DirectoryTaskCatalogLoader catalogLoader = new DirectoryTaskCatalogLoader(existingDirectoryPath, loggerMock.Object);
     IEnumerable<Type> tasks = catalogLoader.GetCatalog();
     loggerMock.Verify(l=>l.WriteEntry(It.IsAny<InfoLogEntry>()), Times.AtLeastOnce());
 }
 public void should_return_a_list_of_tasks()
 {
     loggerMock = new Mock<ILog>();
     DirectoryTaskCatalogLoader catalogLoader = new DirectoryTaskCatalogLoader(existingDirectoryPath, loggerMock.Object);
     IEnumerable<Type> tasks = catalogLoader.GetCatalog();
     tasks.ShouldNotBeNull();
 }