MULE-6741: HttpRequestDispatcherWorkTestCase fails because mockito is unable to mock InetSocketAddress
Instead of mocking the class, return a specific instance of it.