CHEF-5247: Add a unit test
CHEF-5247: Add a unit test

Unfortunately the way that Chef::Provider::User::Solaris subclasses
Chef::Provider::User::Useradd we call both Solaris#manage_password
and Useradd#manage_user whenever we call Solaris#manage_user. If we
are updating a password, we only want Solaris#manage_password, so we
have a kind of convulted way set to tp turn Useradd#manage_user into
a noop. This test tries to ensure we can noop in the way we want to,
but we really need a functional or integration test here.

swalberg/chef,danielsdeleo/seth,mwrock/chef,youngjl1/chef,jkerry/chef,OpSitters/chef,andrewpsp/chef,BackSlasher/chef,DeWaRs1206/chef,zuazo-forks/chef,ckaushik/chef,custora/chef,jkerry/chef,mio-g/chef,patcon/chef,sometimesfood/chef,jonlives/chef,BackSlasher/chef,nicklv/chef,polamjag/chef,malisettirammurthy/chef,docwhat/chef,karthikrev/chef,tomdoherty/chef,gene1wood/chef,BackSlasher/chef,mikedodge04/chef,Ppjet6/chef,swalberg/chef,nicklv/chef,bahamas10/chef,nathwill/chef,antonifs/chef,tas50/chef-1,grubernaut/chef,oclaussen/chef,cachamber/chef,erkolson/chef,gsaslis/chef,mal/chef,nathwill/chef,evan2645/chef,tbunnyman/chef,zuazo-forks/chef,faspl/chef,natewalck/chef,BackSlasher/chef,skmichaelson/chef,permyakovsv/chef,ccsplit/chef,jaymzh/chef,Igorshp/chef,jagdeesh109/chef,permyakovsv/chef,sempervictus/chef,faspl/chef,AndyBoucher/Chef-Testing,h4ck3rm1k3/chef,cmluciano/chef,sekrett/chef,andrewpsp/chef,nsdavidson/chef,webframp/chef,mio-g/chef,clintoncwolfe/chef,higanworks/chef,robmul/chef,zshuo/chef,sideci-sample/sideci-sample-chef,jkerry/chef,zshuo/chef,mio-g/chef,tomdoherty/chef,OpSitters/chef,evan2645/chef,martinisoft/chef,brettcave/chef,webframp/chef,Kast0rTr0y/chef,jkerry/chef,oclaussen/chef,sometimesfood/chef,mikedodge04/chef,jmhardison/chef,jonlives/chef,ekometti/chef,karthikrev/chef,martinb3/chef,oclaussen/chef,aaron-lane/chef,sanditiffin/chef,jblaine/chef,polamjag/chef,ccsplit/chef,aaron-lane/chef,evan2645/chef,martinb3/chef,mwrock/chef,skmichaelson/chef,adamleff/chef,nellshamrell/chef,Tensibai/chef,ckaushik/chef,jk47/chef,renanvicente/chef,mio-g/chef,onlyhavecans/chef,sanditiffin/chef,nicklv/chef,ranjib/chef,AndyBoucher/Chef-Testing,andrewpsp/chef,karthikrev/chef,MichaelPereira/chef,nguyen-tien-mulodo/chef,malisettirammurthy/chef,skmichaelson/chef,cgvarela/chef,zshuo/chef,brettcave/chef,renanvicente/chef,mikefaille/chef,jk47/chef,ktpan/chef-play,ktpan/chef-play,strangelittlemonkey/chef,smurawski/chef,onlyhavecans/chef,cachamber/chef,grubernaut/chef,sekrett/chef,zuazo-forks/chef,askl56/chef,polamjag/chef,baberthal/chef,gsaslis/chef,josb/chef,b002368/chef-repo,webframp/chef,mikefaille/chef,sempervictus/chef,Ppjet6/chef,nvwls/chef,smurawski/chef,erkolson/chef,mikefaille/chef,nsdavidson/chef,jblaine/chef,ekometti/chef,skmichaelson/chef,mwrock/chef,sekrett/chef,martinb3/chef,circleback/chef,DeWaRs1206/chef,criteo-forks/chef,cachamber/chef,DeWaRs1206/chef,higanworks/chef,josb/chef,jaymzh/chef,sekrett/chef,OpSitters/chef,Ppjet6/chef,josb/chef,tas50/chef-1,nguyen-tien-mulodo/chef,higanworks/chef,MichaelPereira/chef,ccsplit/chef,smurawski/chef,baberthal/chef,juliandunn/chef,mwrock/chef,b002368/chef-repo,tbunnyman/chef,Ppjet6/chef,DeWaRs1206/chef,gene1wood/chef,jimmymccrory/chef,skmichaelson/chef,jordane/chef,robmul/chef,Tensibai/chef,Ppjet6/chef,higanworks/chef,natewalck/chef,Igorshp/chef,someara/chef,MichaelPereira/chef,jordane/chef,ekometti/chef,mal/chef,clintoncwolfe/chef,permyakovsv/chef,martinisoft/chef,AndyBoucher/Chef-Testing,pburkholder/chef,lamont-granquist/chef,erkolson/chef,3dinfluence/chef,nicklv/chef,pburkholder/chef,jordane/chef,antonifs/chef,strangelittlemonkey/chef,BackSlasher/chef,mikefaille/chef,MsysTechnologiesllc/chef,josb/chef,nicklv/chef,natewalck/chef,webframp/chef,antonifs/chef,ckaushik/chef,jordane/chef,legal90/chef,sempervictus/chef,patcon/chef,sanditiffin/chef,jimmymccrory/chef,danielsdeleo/seth,BackSlasher/chef,Kast0rTr0y/chef,joemiller/chef,jblaine/chef,bahamas10/chef,circleback/chef,jordane/chef,zuazo-forks/chef,kaznishi/chef,MichaelPereira/chef,sempervictus/chef,mio-g/chef,danielsdeleo/seth,ckaushik/chef,ducthanh/chef,paulmooring/chef,MichaelPereira/chef,mattray/chef,ranjib/chef,kaznishi/chef,nathwill/chef,EasonYi/chef,circleback/chef,clintoncwolfe/chef,askl56/chef,ducthanh/chef,DeWaRs1206/chef,jonlives/chef,Kast0rTr0y/chef,Tensibai/chef,askl56/chef,cgvarela/chef,evan2645/chef,cgvarela/chef,cgvarela/chef,paulmooring/chef,bahamas10/chef,nalingarg2/chef-1,cachamber/chef,skmichaelson/chef,swalberg/chef,robmul/chef,joemiller/chef,3dinfluence/chef,jonlives/chef,karthikrev/chef,nvwls/chef,youngjl1/chef,AndyBoucher/Chef-Testing,acaiafa/chef,mikedodge04/chef,EasonYi/chef,malisettirammurthy/chef,ChaosCloud/chef,baberthal/chef,b002368/chef-repo,docwhat/chef,robmul/chef,OpSitters/chef,MichaelPereira/chef,tbriggs-curse/chef,juliandunn/chef,webframp/chef,danielsdeleo/seth,patcon/chef,cgvarela/chef,tbunnyman/chef,clintoncwolfe/chef,nellshamrell/chef,youngjl1/chef,malisettirammurthy/chef,nguyen-tien-mulodo/chef,smurawski/chef,tbunnyman/chef,martinisoft/chef,criteo-forks/chef,nvwls/chef,acaiafa/chef,erkolson/chef,nathwill/chef,mikefaille/chef,ducthanh/chef,ekometti/chef,antonifs/chef,pburkholder/chef,mikedodge04/chef,ChaosCloud/chef,OpSitters/chef,jaymzh/chef,Tensibai/chef,nellshamrell/chef,mikedodge04/chef,pburkholder/chef,andrewpsp/chef,nalingarg2/chef-1,jaymzh/chef,patcon/chef,ducthanh/chef,mal/chef,custora/chef,swalberg/chef,youngjl1/chef,mal/chef,clintoncwolfe/chef,criteo-forks/chef,sideci-sample/sideci-sample-chef,zshuo/chef,cachamber/chef,circleback/chef,chef/chef,jblaine/chef,MsysTechnologiesllc/chef,martinisoft/chef,martinb3/chef,jonlives/chef,circleback/chef,custora/chef,nalingarg2/chef-1,mikedodge04/chef,adamleff/chef,docwhat/chef,nathwill/chef,pburkholder/chef,paulmooring/chef,faspl/chef,kaznishi/chef,paulmooring/chef,webframp/chef,antonifs/chef,someara/chef,pburkholder/chef,paulmooring/chef,jagdeesh109/chef,nguyen-tien-mulodo/chef,ducthanh/chef,natewalck/chef,sideci-sample/sideci-sample-chef,someara/chef,criteo-forks/chef,strangelittlemonkey/chef,legal90/chef,Igorshp/chef,EasonYi/chef,b002368/chef-repo,robmul/chef,ranjib/chef,mattray/chef,smurawski/chef,h4ck3rm1k3/chef,josb/chef,josb/chef,nsdavidson/chef,grubernaut/chef,acaiafa/chef,sometimesfood/chef,oclaussen/chef,acaiafa/chef,zuazo-forks/chef,sometimesfood/chef,nalingarg2/chef-1,ktpan/chef-play,erkolson/chef,ekometti/chef,legal90/chef,nsdavidson/chef,polamjag/chef,nalingarg2/chef-1,mattray/chef,sideci-sample/sideci-sample-chef,grubernaut/chef,smurawski/chef,adamleff/chef,cachamber/chef,Kast0rTr0y/chef,jimmymccrory/chef,sanditiffin/chef,zshuo/chef,evan2645/chef,faspl/chef,kaznishi/chef,permyakovsv/chef,andrewpsp/chef,chef/chef,onlyhavecans/chef,danielsdeleo/seth,bahamas10/chef,polamjag/chef,juliandunn/chef,custora/chef,kaznishi/chef,sideci-sample/sideci-sample-chef,jmhardison/chef,b002368/chef-repo,karthikrev/chef,brettcave/chef,jagdeesh109/chef,sempervictus/chef,MsysTechnologiesllc/chef,joemiller/chef,martinb3/chef,strangelittlemonkey/chef,adamleff/chef,nsdavidson/chef,youngjl1/chef,brettcave/chef,h4ck3rm1k3/chef,bahamas10/chef,natewalck/chef,custora/chef,aaron-lane/chef,docwhat/chef,robmul/chef,cmluciano/chef,EasonYi/chef,jmhardison/chef,legal90/chef,brettcave/chef,tbunnyman/chef,circleback/chef,Tensibai/chef,bahamas10/chef,jk47/chef,docwhat/chef,criteo-forks/chef,jmhardison/chef,nathwill/chef,nvwls/chef,gene1wood/chef,andrewpsp/chef,lamont-granquist/chef,oclaussen/chef,tomdoherty/chef,3dinfluence/chef,aaron-lane/chef,AndyBoucher/Chef-Testing,custora/chef,nellshamrell/chef,tas50/chef-1,grubernaut/chef,onlyhavecans/chef,cgvarela/chef,mattray/chef,onlyhavecans/chef,jonlives/chef,renanvicente/chef,paulmooring/chef,tbriggs-curse/chef,nguyen-tien-mulodo/chef,youngjl1/chef,mal/chef,jagdeesh109/chef,ChaosCloud/chef,tbriggs-curse/chef,criteo-forks/chef,ekometti/chef,swalberg/chef,sekrett/chef,clintoncwolfe/chef,martinisoft/chef,adamleff/chef,jimmymccrory/chef,jkerry/chef,b002368/chef-repo,antonifs/chef,jk47/chef,joemiller/chef,natewalck/chef,gene1wood/chef,evan2645/chef,jimmymccrory/chef,jagdeesh109/chef,nguyen-tien-mulodo/chef,mikefaille/chef,h4ck3rm1k3/chef,h4ck3rm1k3/chef,MsysTechnologiesllc/chef,jmhardison/chef,docwhat/chef,aaron-lane/chef,tbriggs-curse/chef,sometimesfood/chef,patcon/chef,lamont-granquist/chef,tomdoherty/chef,sempervictus/chef,patcon/chef,ccsplit/chef,mio-g/chef,Igorshp/chef,ckaushik/chef,joemiller/chef,aaron-lane/chef,sanditiffin/chef,renanvicente/chef,3dinfluence/chef,DeWaRs1206/chef,juliandunn/chef,EasonYi/chef,OpSitters/chef,Igorshp/chef,jkerry/chef,someara/chef,ranjib/chef,karthikrev/chef,nvwls/chef,chef/chef,strangelittlemonkey/chef,baberthal/chef,swalberg/chef,Kast0rTr0y/chef,permyakovsv/chef,someara/chef,gsaslis/chef,ccsplit/chef,sekrett/chef,3dinfluence/chef,EasonYi/chef,cmluciano/chef,ktpan/chef-play,martinb3/chef,nalingarg2/chef-1,onlyhavecans/chef,mal/chef,higanworks/chef,baberthal/chef,chef/chef,renanvicente/chef,jblaine/chef,sanditiffin/chef,ranjib/chef,Kast0rTr0y/chef,ChaosCloud/chef,permyakovsv/chef,ckaushik/chef,malisettirammurthy/chef,tbriggs-curse/chef,erkolson/chef,tbunnyman/chef,baberthal/chef,nicklv/chef,nsdavidson/chef,lamont-granquist/chef,zshuo/chef,gsaslis/chef,kaznishi/chef,gsaslis/chef,askl56/chef,juliandunn/chef,nvwls/chef,jblaine/chef,ChaosCloud/chef,tas50/chef-1,mattray/chef,jmhardison/chef,nellshamrell/chef,jk47/chef,h4ck3rm1k3/chef,lamont-granquist/chef,ktpan/chef-play,tomdoherty/chef,joemiller/chef,cmluciano/chef,oclaussen/chef,jk47/chef,askl56/chef,tbriggs-curse/chef,ducthanh/chef,jimmymccrory/chef,grubernaut/chef,faspl/chef,strangelittlemonkey/chef,someara/chef,zuazo-forks/chef,AndyBoucher/Chef-Testing,Ppjet6/chef,jagdeesh109/chef,legal90/chef,3dinfluence/chef,sometimesfood/chef,acaiafa/chef,faspl/chef,nellshamrell/chef,brettcave/chef,ChaosCloud/chef,acaiafa/chef,Igorshp/chef,lamont-granquist/chef,legal90/chef,adamleff/chef,gsaslis/chef,ranjib/chef,malisettirammurthy/chef,renanvicente/chef,cmluciano/chef,polamjag/chef,ktpan/chef-play,ccsplit/chef,askl56/chef