jsut ran into that while writing a test, you need __FUNCTION__ instead of __METHOD__ because __METHOD__ is class::method