Using this method you create two instances of <code>ValidatorFactory</code>.