Package: io.vertx.groovy.ext.unit

## [Groovy] Class TestCase

- io.vertx.groovy.ext.unit.TestCase

- A test case object can be used to create a single test.

- - ### Constructor Summary

    Constructors
    Constructor and description
    `TestCase (java.lang.Object delegate)`

  - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `static TestCase` | `create(java.lang.String name, io.vertx.core.Handler<TestContext> testCase)` Create a test case.
    `java.lang.Object` | `getDelegate()`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class java.lang.Object` | `java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()`

- - ### Constructor Detail

    - #### TestCase(java.lang.Object delegate)

  - ### Method Detail

    - #### static TestCase create(java.lang.String name, io.vertx.core.Handler<TestContext> testCase)

      Create a test case.

      Returns:
        the created test case
      Parameters:
        `name` - the test case name
        `testCase` - the test case

    - #### java.lang.Object getDelegate()