Package com.verisign.epp.codec.defReg

## Class EPPDefRegCreateCmdTst

- java.lang.Object
- - com.verisign.epp.codec.defReg.EPPDefRegCreateCmdTst

-     public class EPPDefRegCreateCmdTst
      extends java.lang.Object

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `EPPDefRegCreateCmdTst()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `testValidateState()` | Verify that a `<create>` command is valid as long as it has a name and an authInfo.
    `void` | `testValidateStateNoAuthInfo()` | Verify that a `<create>` command without an authInfo is invalid.
    `void` | `testValidateStateNoName()` | Verify that a `<create>` command without a name is invalid.

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

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

- - ### Constructor Detail

    - #### EPPDefRegCreateCmdTst

          public EPPDefRegCreateCmdTst()

  - ### Method Detail

    - #### testValidateState

          public void testValidateState()
                                 throws EPPCodecException

      Verify that a `<create>` command is valid as long as it has a name and an authInfo.
      Throws:
        `EPPCodecException` - not really

    - #### testValidateStateNoName

          public void testValidateStateNoName()
                                       throws EPPCodecException

      Verify that a `<create>` command without a name is invalid.
      Throws:
        `EPPCodecException` - if the command does not have a name

    - #### testValidateStateNoAuthInfo

          public void testValidateStateNoAuthInfo()
                                           throws EPPCodecException

      Verify that a `<create>` command without an authInfo is invalid.
      Throws:
        `EPPCodecException` - if the command does not have a name