public void CheckAnyFilesExistsFail() { writer.exist = true; Assert.ThrowsAsync <Exception> (() => diskManager.CheckAnyFilesExistAsync(data)); }