[android-components](../../index.md) / [mozilla.components.tooling.fetch.tests](../index.md) / [FetchTestCases](index.md) / [createWebServer](./create-web-server.md)

# createWebServer

`open fun createWebServer(): MockWebServer` [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/tooling/fetch-tests/src/main/java/mozilla/components/tooling/fetch/tests/FetchTestCases.kt#L47)

Creates a new [MockWebServer](#) to accept test requests.

