Added $swagger->examine($phpcode) to improve unittesting.