public static String resolvePassword( VariableSpace variables, String password ) {
    String resolvedPassword = variables.environmentSubstitute( password );
    if ( resolvedPassword != null ) {
      // returns resolved decrypted password
      return Encr.decryptPasswordOptionallyEncrypted( resolvedPassword );
    } else {
      // actually null
      return resolvedPassword;
    }
  }
@Test
  public void testResolvePassword() {
    String password = "password";
    // is supposed the password stays the same
    assertSame( password, Utils.resolvePassword(
        Variables.getADefaultVariableSpace(), password ).intern() );
  }