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