src/main/java/com/greghaskins/spectrum/internal/junit/StubJUnitFrameworkMethod.java
/**
   * Arbitrary stub.
   * @param klazz class on which to find the method
   * @param methodName method to find
   * @return framework method wrapping the given method
   */
Arbitrary stub.
@param klazz class on which to find the method
@param methodName method to find
@return framework method wrapping the given method
Arbitrary stub . @param klazz class on which to find the method @param methodName method to find @return framework method wrapping the given method
static FrameworkMethod stubFrameworkMethod(Class<?> klazz, String methodName) {
    try {
      return new FrameworkMethod(klazz.getMethod(methodName));
    } catch (NoSuchMethodException noSuchMethod) {
      throw new RuntimeException("Could not reach method", noSuchMethod);
    }
  }
static FrameworkMethod stubFrameworkMethod ( Class < ? > klazz , String methodName ) { try { return new FrameworkMethod ( klazz . getMethod ( methodName ) ) ; } catch ( NoSuchMethodException noSuchMethod ) { throw new RuntimeException ( "Could not reach method" , noSuchMethod ) ; } }
Arbitrary stub.
Arbitrary stub .