Package com.adaptiweb.utils.ci

Examples of com.adaptiweb.utils.ci.VariableResolver.resolveValue()


  @Test(expected=IllegalStateException.class)
  public void testMissingSubstitution() {
    VariableSource sourceA = variableSource("a=$b","b=${x}");
    VariableResolver tested = new VariableResolver(sourceA);
   
    assertEquals("  .  ", tested.resolveValue("a"));
  }
 
  private static VariableSource variableSource(String...definitions) {
    Map<String, String> result = new HashMap<String, String>(definitions.length);
   
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.