d8-contrib-modules / townsec_key

My D8 port of townsec_key
GNU General Public License v2.0
0 stars 0 forks source link

PHPUnit test #8

Open nerdstein opened 9 years ago

nerdstein commented 9 years ago

mocking a live service

nerdstein commented 9 years ago

Example mocks: https://github.com/adweingarten/cloudflarephpsdk/blob/master/tests/ApiEndpoints/ZoneApiTest.php#L44 https://github.com/adweingarten/cloudflarephpsdk/blob/master/src/ApiEndpoints/CloudFlareAPI.php#L81