public void verify_content() { _client.Update(Container, "verify_content", "append", new byte[] { 1, 2, 3, 4 }); Assert.IsTrue(_client.Update(Container, "verify_content", "flush", null, 4, close: true)); Assert.AreEqual(_client.ReadBytes(Container, "verify_content", 0, 4).Length, 4); }
public void read_small_file_as_byte_array() { var file = _client.ReadBytes(Container, "small_read_file", 0, 998); Assert.AreEqual(file.Length, 998); }