Extract validator setup into method