Interface MethodMatcher

All Known Implementing Classes:
AbstractMethodMatcher, AbstractNodeMethodMatcher, ArrayEndingMethodMatcher, DataProviderMethodMatcher, DirectMethodMatcher

public interface MethodMatcher
An interface to validate conformance of input arguments to its target method.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Checks if the arguments conform to the method.
    If possible gives an array consumable by java method invoker.
  • Method Details

    • conforms

      boolean conforms()
      Checks if the arguments conform to the method.
      Returns:
      conformance
    • getConformingArguments

      Object[] getConformingArguments()
      If possible gives an array consumable by java method invoker.
      Returns:
      conforming argument array