Agreed, i added this to be able to test the getMessage() but it isn't pretty.