public WatchedFileTestBundle()
 {
     MockLog = new Mock<ILog>();
     MockFile = new Mock<IFile>();
     MockServiceProvider = new Mock<IEntityProvider>();
     MockRequestProvider = new Mock<IRequestProvider>();
     MockEnvironmentUtility = new Mock<IEnvironmentUtility>();
     MockDirectory = new Mock<IDirectory>();
     WatchedFile = new WatchedFile(MockLog.Object, MockServiceProvider.Object, MockFile.Object, MockRequestProvider.Object, MockEnvironmentUtility.Object, MockDirectory.Object);
 }
 public void WatchedFileParameterlessConstructorCreatesObject()
 {
     // I know this test may seem silly but NHibernate requires a parameterless constructor on objects it persists.
     var obj = new WatchedFile();
     Assert.IsNotNull(obj);
 }