public void ConvertTo()
    {
        var converter = new InterlockIdConverter();

        Assert.AreEqual("Key!47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU",
                        converter.ConvertTo(null, CultureInfo.InvariantCulture, new KeyId(TagHash.Empty), typeof(string)));
    }
    public void CanConvertTo()
    {
        var converter = new InterlockIdConverter();

        Assert.AreEqual(true, converter.CanConvertTo(null, typeof(string)));
        Assert.AreEqual(false, converter.CanConvertTo(null, typeof(int)));
    }
    public void ConvertFrom()
    {
        var converter = new InterlockIdConverter();
        var id        = converter.ConvertFrom(null, CultureInfo.InvariantCulture, "Key!AAA#SHA3_512") as InterlockId;

        Assert.IsNotNull(id);
        Assert.AreEqual("Key!AAA#SHA3_512", id.ToString());
        Assert.AreEqual(HashAlgorithm.SHA3_512, id.Algorithm);
        Assert.AreEqual(new byte[] { 0, 0 }, id.Data);
        Assert.AreEqual(4, id.Type);
    }