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 Execute_should_succeed() { Assert.IsTrue(_delete.Execute()); }