Below we are going to use PHP Unit to check if a function was called inside a method. First setup your class that you are going to test. This is a simple class with two functions. mainFunction calls secondFunction. <?php namespace AzCodez\Magento...
blog.azcodez.com3 min read
No responses yet.