public void Setup()
        {
            var knownKeyEncoder = new KnownKeyEncoder(new HashSet <string> {
                KnownKey
            });

            _metadataCollection = new S3MetadataCollection(Delimiter, knownKeyEncoder);
        }
 public void Will_Not_Allow_Multiple_Known_Keys_That_Encode_To_The_Same_Key()
 {
     Assert.Throws <ArgumentException>(() =>
     {
         var knownKeyEncoder = new KnownKeyEncoder(new HashSet <string> {
             "Same Key", "same key"
         });
     });
 }
 public void Setup()
 {
     _knownKeyEncoder = new KnownKeyEncoder(new HashSet <string> {
         KnownKey
     });
 }