FormCraft.test constructor

  1. @visibleForTesting
FormCraft.test(
  1. FormCraftFieldManager fieldManager,
  2. FormCraftValidatorManager validatorManager
)

Create a new instance of FormCraft for testing purposes.

The fieldManager parameter is required and must be an instance of FormCraftFieldManager. The validatorManager parameter is required and must be an instance of FormCraftValidatorManager.

Implementation

@visibleForTesting
FormCraft.test(FormCraftFieldManager fieldManager,
    FormCraftValidatorManager validatorManager)
    : _fieldManager = fieldManager,
      _validatorManager = validatorManager;