refactored getStubbedHandlerFor to not return null