@Test public void testSignatureChar() { String res = Signature.toSignature(Character.TYPE); Assert.assertEquals("C", res); }
@Test public void testSignatureCharArray() { String res = Signature.toSignature(char[].class); Assert.assertEquals("[C", res); }
@Test public void testSignatureObject() { String res = Signature.toSignature(Object.class); Assert.assertEquals("Ljava/lang/Object;", res); }