public void TearDown() { if (_delete != null) { _delete.Dispose(); } _delete = null; }
public void SetUp() { Client.EnsureBucketExists(BucketName); _delete = new DeleteBucket(ClientFactory, RequestTimoutMilliseconds, LoggerMock) { Bucket = BucketName }; }
public void SetUp() { Client.EnsureBucketExists(BucketName); _delete = new DeleteBucket(ClientFactory, RequestTimoutMilliseconds, LoggerMock) { Bucket = BucketName }; }
public void TearDown() { var removeBucket = new DeleteBucket(ClientFactory, RequestTimoutMilliseconds, LoggerMock) { Bucket = Bucket }; Assert.IsTrue(removeBucket.Execute(), "Could not remove test bucket!"); if (_publish != null) _publish.Dispose(); _publish = null; }
public void TearDown() { var removeBucket = new DeleteBucket(ClientFactory, RequestTimoutMilliseconds, BufferSizeKilobytes, LoggerMock) { Bucket = Bucket }; Assert.IsTrue(removeBucket.Execute(), "Could not remove test bucket!"); if (_publish != null) { _publish.Dispose(); } _publish = null; }
public void TearDown() { if (_delete != null) _delete.Dispose(); _delete = null; }