public < T > EasyRandomParameters randomize ( Class < T > type , Randomizer < T > randomizer ) { Objects . requireNonNull ( type , "Type must not be null" ) ; Objects . requireNonNull ( randomizer , "Randomizer must not be null" ) ; customRandomizerRegistry . registerRandomizer ( type , randomizer ) ; return this ; }
Register a custom randomizer for a given type .