# create method,# Used test code:
```
$f = fopen(FULL_PATH . '/system/config.php', 'r');
test($f);
function test($file)
{
throw new RuntimeException('Test');
}
```
## Test Plan
# Configure debugger to be enabled
# Modify index php. that will be accepting `kDBConnection` object and will be throwing an exception insideAdd test code after `$application->Init();`
# Open some front-end page
# Confirm that `RuntimeException: Test` error message is shown in debugger
# call that method with `$this->Conn`# Click on `Function` link it the backtrace block before error message
# c# Confirmrm, that value of resource type parameter is displayed correctly, like `Resource id #n`, that if method arguments are expanded in debugger the `connectionID` attribute of given DB connection is shown as resourcewhere `n` is some integer value