refactored LoggerTestCase#getAndSetTest
fixed: Bug in findMethod for methods with no args