Replace MessageSource mock with a stub