Add ability to check if invalid wrapper is passed
Add test if invalid wrapper is passed
Add whitespace
Add allowed arguments to arrays
Add ability to check invalid method
Add plural to exception message
Refactor some repeated codes to BaseGenerator and updated the test