[CHEF-3689] refactor ApiClient test suite
[CHEF-3689] refactor ApiClient test suite

remove redundant tests, use declarative and formal language

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