@Test public void decode() { String encodedPath = pathEncryptors.encode(path); Path decode = pathEncryptors.decode(encodedPath); assertThat(decode, equalTo(decode)); }
@Test public void decodeShouldReturnNullWhenSpecifiedNull() { Path decode = pathEncryptors.decode(null); assertNull(decode); }