PHPUnit assertIsResource() Function
The assertIsResource() function is a builtin function in PHPUnit and is used to assert whether the given variable is Resource or not. This assertion will return true in the case if the given variable is Resource else returns false. In case of true the asserted test case got passed else test case got