コード例 #1
0
 @Test
 public void decode() {
   String encodedPath = pathEncryptors.encode(path);
   Path decode = pathEncryptors.decode(encodedPath);
   assertThat(decode, equalTo(decode));
 }
コード例 #2
0
  @Test
  public void decodeShouldReturnNullWhenSpecifiedNull() {
    Path decode = pathEncryptors.decode(null);

    assertNull(decode);
  }