public void GetFileSystemInfos_IfFileSystemIsDirectory_ReturnInformations() { //Arrange FileSystemInfo fileSystemInfo = new DirectoryInfo(@"C:\Users\enise.kilavuz\Desktop\tst\"); _recorderFileSystemInfoLocal = new RecorderFileSystemInfoLocal(fileSystemInfo); //Act // ReSharper disable ExpressionIsAlwaysNull var actual = MethodTestHelper.RunInstanceMethod<RecorderFileSystemInfoLocal, IEnumerable<RecorderFileSystemInfo>>("GetFileSystemInfos", _recorderFileSystemInfoLocal, null); // ReSharper restore ExpressionIsAlwaysNull //Assert Assert.AreNotEqual(actual, null); }
public void TestFixtureTearDown() { _recorderFileSystemInfoLocal = null; }
public void TestFixtureSetup() { FileSystemInfo fileSystemInfo = new FileInfo(@"C:\Users\enise.kilavuz\Desktop\tst\cisco_asa"); _recorderFileSystemInfoLocal = new RecorderFileSystemInfoLocal(fileSystemInfo); }