public void Should_Return_Container_List_With_Start_Marker_Upper_Case() { var provider = new ObjectStoreProvider(); var containerList = provider.ListContainers(_testIdentity, null, "A"); Assert.IsNotNull(containerList); Assert.IsTrue(containerList.Any()); }
public void Should_Return_Container_List() { var provider = new ObjectStoreProvider(); var containerList = provider.ListContainers(_testIdentity); Assert.IsNotNull(containerList); Assert.IsTrue(containerList.Any()); }
public void Should_Return_Container_List_With_Limit() { var provider = new ObjectStoreProvider(); var containerList = provider.ListContainers(_testIdentity,1); Assert.IsNotNull(containerList); Assert.AreEqual(1, containerList.Count()); }
public void Should_Not_Create_Container_Already_Exists() { const string containerName = "TestContainer"; var provider = new ObjectStoreProvider(); var containerCreatedResponse = provider.CreateContainer(_testIdentity, containerName); Assert.AreEqual(ObjectStore.ContainerExists, containerCreatedResponse); }