()
| 55 | } |
| 56 | |
| 57 | @Test |
| 58 | void testString() { |
| 59 | String value = "hello"; |
| 60 | |
| 61 | MetaClass metaClass = InvokerHelper.getMetaClass(value); |
| 62 | |
| 63 | assertNotNull(metaClass, "got metaclass"); |
| 64 | |
| 65 | Object answer = metaClass.invokeMethod(value, "toString", new Object[0]); |
| 66 | |
| 67 | assertEquals("hello", answer); |
| 68 | } |
| 69 | |
| 70 | @Test |
| 71 | void testObject() { |
nothing calls this directly
no test coverage detected