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