public class MethodSupport extends Object
|Constructor and Description|
|Modifier and Type||Method and Description|
Returns result of given method invocation on provided object.
Following requirements have to be met to extract method results:
instance- object on which
methodName- name of method to be invoked
IllegalArgumentException- if method does not exist or is not public, method returns void or method accepts any argument
Copyright © 2013–2018 AssertJ. All rights reserved.