@Test public void testDoubleCall() throws Exception { testApi.boxedDoubleCall(123d); matchFrame("boxedDoubleCall", 3); matchElement("d", "123.0", 2); }
@Test public void testLongCall() throws Exception { testApi.boxedLongCall(123L); matchFrame("boxedLongCall", 3); matchElement("l", "123", 2); }
@Test public void testFloatCall() throws Exception { testApi.boxedFloatCall(12.3f); matchFrame("boxedFloatCall", 3); matchElement("f", "12.3", 2); }
@Test public void testIntCall() throws Exception { testApi.boxedIntCall(123); matchFrame("boxedIntCall", 3); matchElement("i", "123", 2); }
@Test public void testShortCall() throws Exception { testApi.boxedShortCall((short) 123); matchFrame("boxedShortCall", 3); matchElement("s", "123", 2); }
@Test public void testCharCall() throws Exception { testApi.boxedCharCall('a'); matchFrame("boxedCharCall", 3); assertThat(getLine(2), matches("\\s*<" + "c" + ">" + "(97|a)" + "</" + "c" + ">")); }
@Test public void testByteCall() throws Exception { testApi.boxedByteCall(Byte.MAX_VALUE); matchFrame("boxedByteCall", 3); matchElement("b", "127", 2); }
@Test public void testBooleanCall() throws Exception { testApi.boxedBooleanCall(true); matchFrame("boxedBooleanCall", 3); matchElement("b", "true", 2); }