Searched refs:toStringMethod (Results 1 – 8 of 8) sorted by relevance
21 private Method toStringMethod; field in SerializableMethodTest27 toStringMethod = this.getClass().getMethod("toString", args); in createMethodToTestWith()28 method = new SerializableMethod(toStringMethod); in createMethodToTestWith()39 assertArrayEquals(toStringMethod.getExceptionTypes(), method.getExceptionTypes()); in shouldBeAbleToRetrieveMethodExceptionTypes()44 assertEquals(toStringMethod.getName(), method.getName()); in shouldBeAbleToRetrieveMethodName()49 assertEquals(toStringMethod.isVarArgs(), method.isVarArgs()); in shouldBeAbleToCheckIsArgVargs()54 assertArrayEquals(toStringMethod.getParameterTypes(), method.getParameterTypes()); in shouldBeAbleToGetParameterTypes()59 assertEquals(toStringMethod.getReturnType(), method.getReturnType()); in shouldBeAbleToGetReturnType()64 assertTrue(new SerializableMethod(toStringMethod).equals(method)); in shouldBeEqualForTwoInstances()
32 private transient Method toStringMethod; field in ObjectMethodsFilter51 toStringMethod = toMock.getMethod("toString", (Class[]) null); in ObjectMethodsFilter()69 if (toStringMethod.equals(method)) { in invoke()93 toStringMethod = ((MethodSerializationWrapper) stream.readObject()).getMethod(); in readObject()105 stream.writeObject(new MethodSerializationWrapper(toStringMethod)); in writeObject()
768 Method toStringMethod = classToBeTested.getDeclaredMethod("toString"); in invokeToString() local769 toStringMethod.setAccessible(true); in invokeToString()770 return (String) toStringMethod.invoke(obj); in invokeToString()
767 Method toStringMethod = classToBeTested.getDeclaredMethod("toString"); in invokeToString() local768 toStringMethod.setAccessible(true); in invokeToString()769 return (String) toStringMethod.invoke(obj); in invokeToString()
1235 Method toStringMethod = Object.class.getMethod("toString"); in testMethod_declaredBySuperclass() local1237 assertEquals(list.toString(), TypeToken.of(List.class).method(toStringMethod).invoke(list)); in testMethod_declaredBySuperclass()
META-INF/ META-INF/MANIFEST.MF org/ org/easymock/ org/ ...
META-INF/MANIFEST.MF META-INF/maven/ META-INF/maven/ ...