Write the code that configures the application with the mock server "http://localhost:8080":
fun testHello() = testApplication {
externalServices {
/* your code here */ {
routing {
get("/mockdata") {
call.respond(MockData("Mocked data"))
}
}
}
}
}