public void KeyDecodingShouldReturnOriginalNumber() { var settings = new TestKeyConverterSettings(); IKeyConverter keyConverter = new KeyConverter(settings); long originalValue = 0; string key = keyConverter.Encode(originalValue); Assert.Equal(originalValue, keyConverter.Decode(key)); }