コード例 #1
0
        public void Existing_container_lists_items()
        {
            TestContainer.Create();
            var newGuid = Guid.NewGuid();

            Write(TestItem, newGuid);
            var first = TestContainer.ListItems().First();

            ShouldHaveGuid(TestContainer.GetItem(first), newGuid);
        }
コード例 #2
0
 protected IStreamingItem GetItem(string path)
 {
     return(TestContainer.GetItem(path));
 }
コード例 #3
0
 public void SetUp()
 {
     TestContainer = GetContainer("tc-" + Guid.NewGuid().ToString().ToLowerInvariant());
     TestItem      = TestContainer.GetItem(Guid.NewGuid().ToString().ToLowerInvariant());
 }