org.thewonderlemming.c4plantuml.testbed.mojo.junit

## Class InjectMojoParametersRule<T>

- java.lang.Object
- - org.thewonderlemming.c4plantuml.testbed.mojo.junit.InjectMojoParametersRule<T>

- Type Parameters:
    `T` - the type of the test class.
  All Implemented Interfaces:
    org.junit.rules.TestRule

      public class InjectMojoParametersRule<T>
      extends Object
      implements org.junit.rules.TestRule

  Inspects the test class to gather values from `MojoParameter` tagged fields, and inject these values into `InjectMojoParameters` tagged fields.
  Author:
    thewonderlemming

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `InjectMojoParametersRule(T testInstance)` Default constructor.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `org.junit.runners.model.Statement` | `apply(org.junit.runners.model.Statement base, org.junit.runner.Description description)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### InjectMojoParametersRule

          public InjectMojoParametersRule(T testInstance)

      Default constructor.
      Parameters:
        `testInstance` - the test class instance.

  - ### Method Detail

    - #### apply

          public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base,
                                                         org.junit.runner.Description description)

      Specified by:
        `apply` in interface `org.junit.rules.TestRule`

Copyright © 2020. All rights reserved.