package Ġch . d ifty . sc ip am ato . core . persistence . user Ċ Ċ import Ġch . d ifty . sc ip am ato . core . db . tables . Sc ip am ato User . SC IP AM AT O _ USER Ċ import Ġch . d ifty . sc ip am ato . core . db . tables . records . Sc ip am ato User Record Ċ import Ġch . d ifty . sc ip am ato . core . entity . User Ċ import Ġch . d ifty . sc ip am ato . core . persistence . Record Mapper Test Ċ import Ġch . d ifty . sc ip am ato . core . persistence . Update Set Step Setter Ċ import Ġch . d ifty . sc ip am ato . core . persistence . Update Set Step Setter Test Ċ import Ġio . mock k . confirm Verified Ċ import Ġio . mock k . every Ċ import Ġio . mock k . mock k Ċ import Ġio . mock k . verify Ċ Ċ internal Ġclass ĠUser Update Set Step Setter Without Password Test Ġ: ĠUpdate Set Step Setter Test < Sc ip am ato User Record , ĠUser >() Ġ{ ĊĊĠĠĠ Ġoverride Ġval Ġsetter : ĠUpdate Set Step Setter < Sc ip am ato User Record , ĠUser > Ġ= ĠUser Update Set Step Setter () ĊĊĠĠĠ Ġoverride Ġval Ġentity Ġ= Ġmock k < User >() ĊĊĠĠĠ Ġoverride Ġfun Ġspecific Tear Down () Ġ{ ĊĠĠĠĠĠĠĠ Ġconfirm Verified ( entity ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġentity Fixture () Ġ{ ĊĠĠĠĠĠĠĠ Ġevery Ġ{ Ġentity . userName Ġ} Ġreturns ĠUser Record Mapper Test . USER _ NAME ĊĠĠĠĠĠĠĠ Ġevery Ġ{ Ġentity . firstName Ġ} Ġreturns ĠUser Record Mapper Test . FIRST _ NAME ĊĠĠĠĠĠĠĠ Ġevery Ġ{ Ġentity . lastName Ġ} Ġreturns ĠUser Record Mapper Test . LAST _ NAME ĊĠĠĠĠĠĠĠ Ġevery Ġ{ Ġentity . email Ġ} Ġreturns ĠUser Record Mapper Test . EMAIL ĊĠĠĠĠĠĠĠ Ġevery Ġ{ Ġentity . isEnabled Ġ} Ġreturns ĠUser Record Mapper Test . ENABLED ĊĠĠĠĠĠĠĠ Ġevery Ġ{ Ġentity . password Ġ} Ġreturns ĠUser Record Mapper Test . PASSWORD ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġstep Set Fixture Except Audit () Ġ{ ĊĠĠĠĠĠĠĠ Ġevery Ġ{ Ġstep . set ( SC IP AM AT O _ USER . USER _ NAME , ĠUser Record Mapper Test . USER _ NAME ) Ġ} Ġreturns Ġmore Step ĊĠĠĠĠĠĠĠ Ġevery Ġ{ Ġmore Step . set ( SC IP AM AT O _ USER . FIRST _ NAME , ĠUser Record Mapper Test . FIRST _ NAME ) Ġ} Ġreturns Ġmore Step ĊĠĠĠĠĠĠĠ Ġevery Ġ{ Ġmore Step . set ( SC IP AM AT O _ USER . LAST _ NAME , ĠUser Record Mapper Test . LAST _ NAME ) Ġ} Ġreturns Ġmore Step ĊĠĠĠĠĠĠĠ Ġevery Ġ{ Ġmore Step . set ( SC IP AM AT O _ USER . EMAIL , ĠUser Record Mapper Test . EMAIL ) Ġ} Ġreturns Ġmore Step ĊĠĠĠĠĠĠĠ Ġevery Ġ{ Ġmore Step . set ( SC IP AM AT O _ USER . ENABLED , ĠUser Record Mapper Test . ENABLED ) Ġ} Ġreturns Ġmore Step ĊĠĠĠĠĠĠĠ Ġevery Ġ{ Ġmore Step . set ( SC IP AM AT O _ USER . PASSWORD , ĠUser Record Mapper Test . PASSWORD ) Ġ} Ġreturns Ġmore Step ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġstep Set Fixture Audit () Ġ{ ĊĠĠĠĠĠĠĠ Ġevery Ġ{ Ġmore Step . set ( SC IP AM AT O _ USER . CREATED , ĠRecord Mapper Test . CREATED ) Ġ} Ġreturns Ġmore Step ĊĠĠĠĠĠĠĠ Ġevery Ġ{ Ġmore Step . set ( SC IP AM AT O _ USER . CREATED _ BY , ĠRecord Mapper Test . CREATED _ BY ) Ġ} Ġreturns Ġmore Step ĊĠĠĠĠĠĠĠ Ġevery Ġ{ Ġmore Step . set ( SC IP AM AT O _ USER . LAST _ MODI FIED , ĠRecord Mapper Test . LAST _ MOD ) Ġ} Ġreturns Ġmore Step ĊĠĠĠĠĠĠĠ Ġevery Ġ{ Ġmore Step . set ( SC IP AM AT O _ USER . LAST _ MODI FIED _ BY , ĠRecord Mapper Test . LAST _ MOD _ BY ) Ġ} Ġreturns Ġmore Step ĊĠĠĠĠĠĠĠ Ġevery Ġ{ Ġmore Step . set ( SC IP AM AT O _ USER . VERSION , ĠRecord Mapper Test . VERSION Ġ+ Ġ 1 ) Ġ} Ġreturns Ġmore Step ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġverify Call To All Fields Except Audit () Ġ{ ĊĠĠĠĠĠĠĠ Ġverify Ġ{ Ġentity . userName Ġ} ĊĠĠĠĠĠĠĠ Ġverify Ġ{ Ġentity . firstName Ġ} ĊĠĠĠĠĠĠĠ Ġverify Ġ{ Ġentity . lastName Ġ} ĊĠĠĠĠĠĠĠ Ġverify Ġ{ Ġentity . email Ġ} ĊĠĠĠĠĠĠĠ Ġverify Ġ{ Ġentity . password Ġ} ĊĠĠĠĠĠĠĠ Ġverify Ġ{ Ġentity . isEnabled Ġ} ĊĠĠĠĠĠĠĠ Ġverify Ġ{ Ġentity . password Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġverify Step Setting Except Audit () Ġ{ ĊĠĠĠĠĠĠĠ Ġverify Ġ{ Ġstep . set ( SC IP AM AT O _ USER . USER _ NAME , ĠUser Record Mapper Test . USER _ NAME ) Ġ} ĊĠĠĠĠĠĠĠ Ġverify Ġ{ Ġmore Step . set ( SC IP AM AT O _ USER . FIRST _ NAME , ĠUser Record Mapper Test . FIRST _ NAME ) Ġ} ĊĠĠĠĠĠĠĠ Ġverify Ġ{ Ġmore Step . set ( SC IP AM AT O _ USER . LAST _ NAME , ĠUser Record Mapper Test . LAST _ NAME ) Ġ} ĊĠĠĠĠĠĠĠ Ġverify Ġ{ Ġmore Step . set ( SC IP AM AT O _ USER . EMAIL , ĠUser Record Mapper Test . EMAIL ) Ġ} ĊĠĠĠĠĠĠĠ Ġverify Ġ{ Ġmore Step . set ( SC IP AM AT O _ USER . PASSWORD , ĠUser Record Mapper Test . PASSWORD ) Ġ} ĊĠĠĠĠĠĠĠ Ġverify Ġ{ Ġmore Step . set ( SC IP AM AT O _ USER . ENABLED , ĠUser Record Mapper Test . ENABLED ) Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġverify Step Setting Audit () Ġ{ ĊĠĠĠĠĠĠĠ Ġverify Ġ{ Ġmore Step . set ( SC IP AM AT O _ USER . CREATED , ĠRecord Mapper Test . CREATED ) Ġ} ĊĠĠĠĠĠĠĠ Ġverify Ġ{ Ġmore Step . set ( SC IP AM AT O _ USER . CREATED _ BY , ĠRecord Mapper Test . CREATED _ BY ) Ġ} ĊĠĠĠĠĠĠĠ Ġverify Ġ{ Ġmore Step . set ( SC IP AM AT O _ USER . LAST _ MODI FIED , ĠRecord Mapper Test . LAST _ MOD ) Ġ} ĊĠĠĠĠĠĠĠ Ġverify Ġ{ Ġmore Step . set ( SC IP AM AT O _ USER . LAST _ MODI FIED _ BY , ĠRecord Mapper Test . LAST _ MOD _ BY ) Ġ} ĊĠĠĠĠĠĠĠ Ġverify Ġ{ Ġmore Step . set ( SC IP AM AT O _ USER . VERSION , ĠRecord Mapper Test . VERSION Ġ+ Ġ 1 ) Ġ} ĊĠĠĠ Ġ} Ċ } Ċ