public void Setup() { _workFolder = new TemporaryFolder("unittest"); _workFolderPath = _workFolder.FolderPath; Assert.AreEqual(0, Directory.GetDirectories(_workFolderPath).Count(), "Some stuff was left over from a previous test"); Assert.AreEqual(0, Directory.GetFiles(_workFolderPath).Count(), "Some stuff was left over from a previous test"); _client = new BloomS3Client(BloomS3Client.UnitTestBucketName); _client.EmptyUnitTestBucket(); }
public void TearDown() { _client.EmptyUnitTestBucket(_storageKeyOfBookFolder); _workFolder.Dispose(); _client.Dispose(); }