import { ResetPasswordRequestRowPreparer } from '../preparers/ResetPasswordRequestRowPreparer' ; describe ( 'ResetPasswordRequestRowPreparer' , ( ) : void => { let resetPasswordRequestRowPreparer ; beforeEach ( ( ) : void => { resetPasswordRequestRowPreparer = new ResetPasswordRequestRowPreparer ( ) ; } ) ; test ( 'prepare row for insert correctly' , ( ) : void => { const preparedRow = resetPasswordRequestRowPreparer . prepareInsert ( 'userId' , 'resetPasswordKey' ) ; expect ( preparedRow ) . toEqual ( { userId : 'userId' , resetPasswordKey : 'resetPasswordKey' , } ) ; } ) ; } ) ;