コード例 #1
0
 @Test
 public void mismatchedSymbolIsReplaced() throws Exception {
   testContext.setSymbol("S", "Value");
   assertExpectationMessage("$S", "WrongValue", "fail(a=WrongValue;e=$S->[Value])");
 }
コード例 #2
0
 @Test
 public void matchedSymbolIsReplaced() throws Exception {
   testContext.setSymbol("S", "Value");
   assertExpectationMessage("$S", "Value", "pass($S->[Value])");
 }