# Interface MethodSource

All Superinterfaces:
  `TestSource`

@Incubating public interface MethodSource extends TestSource
Method-based test source.

Since:
  9.4.0

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getClassName()`
  Returns the name of the class containing the test method.
  `String`
  `getMethodName()`
  Returns the name of the test method.

- ## Method Details

  - ### getClassName

    String getClassName()
    Returns the name of the class containing the test method.
    Since:
      9.4.0

  - ### getMethodName

    String getMethodName()
    Returns the name of the test method.
    Since:
      9.4.0