throw exception for uninstrumented methods in unitTests