public void should_throw_container_not_empty_exception_if_the_container_not_empty() { var account = new MockCFAccount(); account.DeleteContainer("testcontainername"); Assert.Fail("Allowed deletion of non-existant container"); }
public void should_do_nothing_when_successful() { var account = new MockCFAccount(); account.CreateContainer("testcontainername"); Assert.That(account.ContainerExists("testcontainername"), Is.True); account.DeleteContainer("testcontainername"); Assert.That(account.ContainerExists("testcontainername"), Is.False); }
public void should_throw_container_not_empty_exception_if_the_container_not_empty() { var account = new MockCFAccount(); account.DeleteContainer("testcontainername"); Assert.Fail("Allowed deletion of non-existant container"); }
public void should_do_nothing_when_successful() { var account = new MockCFAccount(); account.CreateContainer("testcontainername"); Assert.That(account.ContainerExists("testcontainername"), Is.True); account.DeleteContainer("testcontainername"); Assert.That(account.ContainerExists("testcontainername"), Is.False); }