├── .github └── workflows │ └── test.yaml ├── .gitignore ├── LICENSE ├── README.md ├── composer.json ├── doc ├── index.md ├── recording.md ├── server.md ├── start.md └── stubbing.md ├── phpunit.xml.dist ├── public └── index.php ├── src ├── Expectation.php ├── Matcher │ ├── AbstractMatcher.php │ ├── ClosureMatcher.php │ ├── ExtractorFactory.php │ ├── MatcherFactory.php │ ├── MatcherInterface.php │ ├── RegexMatcher.php │ └── StringMatcher.php ├── MockBuilder.php ├── PHPUnit │ ├── HttpMockFacade.php │ ├── HttpMockFacadeMap.php │ ├── HttpMockTrait.php │ └── ServerManager.php ├── Request │ └── UnifiedRequest.php ├── RequestCollectionFacade.php ├── RequestStorage.php ├── Response │ └── CallbackResponse.php ├── ResponseBuilder.php ├── Server.php ├── Util.php └── app.php ├── state └── .gitkeep └── tests ├── AppIntegrationTest.php ├── Fixtures └── Request.php ├── Matcher ├── ExtractorFactoryTest.php └── StringMatcherTest.php ├── MockBuilderIntegrationTest.php ├── PHPUnit ├── HttpMockMultiPHPUnitIntegrationTest.php ├── HttpMockPHPUnitIntegrationBasePathTest.php └── HttpMockPHPUnitIntegrationTest.php ├── Request └── UnifiedRequestTest.php └── RequestCollectionFacadeTest.php /.github/workflows/test.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InterNations/http-mock/HEAD/.github/workflows/test.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InterNations/http-mock/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InterNations/http-mock/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InterNations/http-mock/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InterNations/http-mock/HEAD/composer.json -------------------------------------------------------------------------------- /doc/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InterNations/http-mock/HEAD/doc/index.md -------------------------------------------------------------------------------- /doc/recording.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InterNations/http-mock/HEAD/doc/recording.md -------------------------------------------------------------------------------- /doc/server.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InterNations/http-mock/HEAD/doc/server.md -------------------------------------------------------------------------------- /doc/start.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InterNations/http-mock/HEAD/doc/start.md -------------------------------------------------------------------------------- /doc/stubbing.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InterNations/http-mock/HEAD/doc/stubbing.md -------------------------------------------------------------------------------- /phpunit.xml.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InterNations/http-mock/HEAD/phpunit.xml.dist -------------------------------------------------------------------------------- /public/index.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InterNations/http-mock/HEAD/public/index.php -------------------------------------------------------------------------------- /src/Expectation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InterNations/http-mock/HEAD/src/Expectation.php -------------------------------------------------------------------------------- /src/Matcher/AbstractMatcher.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InterNations/http-mock/HEAD/src/Matcher/AbstractMatcher.php -------------------------------------------------------------------------------- /src/Matcher/ClosureMatcher.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InterNations/http-mock/HEAD/src/Matcher/ClosureMatcher.php -------------------------------------------------------------------------------- /src/Matcher/ExtractorFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InterNations/http-mock/HEAD/src/Matcher/ExtractorFactory.php -------------------------------------------------------------------------------- /src/Matcher/MatcherFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InterNations/http-mock/HEAD/src/Matcher/MatcherFactory.php -------------------------------------------------------------------------------- /src/Matcher/MatcherInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InterNations/http-mock/HEAD/src/Matcher/MatcherInterface.php -------------------------------------------------------------------------------- /src/Matcher/RegexMatcher.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InterNations/http-mock/HEAD/src/Matcher/RegexMatcher.php -------------------------------------------------------------------------------- /src/Matcher/StringMatcher.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InterNations/http-mock/HEAD/src/Matcher/StringMatcher.php -------------------------------------------------------------------------------- /src/MockBuilder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InterNations/http-mock/HEAD/src/MockBuilder.php -------------------------------------------------------------------------------- /src/PHPUnit/HttpMockFacade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InterNations/http-mock/HEAD/src/PHPUnit/HttpMockFacade.php -------------------------------------------------------------------------------- /src/PHPUnit/HttpMockFacadeMap.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InterNations/http-mock/HEAD/src/PHPUnit/HttpMockFacadeMap.php -------------------------------------------------------------------------------- /src/PHPUnit/HttpMockTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InterNations/http-mock/HEAD/src/PHPUnit/HttpMockTrait.php -------------------------------------------------------------------------------- /src/PHPUnit/ServerManager.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InterNations/http-mock/HEAD/src/PHPUnit/ServerManager.php -------------------------------------------------------------------------------- /src/Request/UnifiedRequest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InterNations/http-mock/HEAD/src/Request/UnifiedRequest.php -------------------------------------------------------------------------------- /src/RequestCollectionFacade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InterNations/http-mock/HEAD/src/RequestCollectionFacade.php -------------------------------------------------------------------------------- /src/RequestStorage.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InterNations/http-mock/HEAD/src/RequestStorage.php -------------------------------------------------------------------------------- /src/Response/CallbackResponse.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InterNations/http-mock/HEAD/src/Response/CallbackResponse.php -------------------------------------------------------------------------------- /src/ResponseBuilder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InterNations/http-mock/HEAD/src/ResponseBuilder.php -------------------------------------------------------------------------------- /src/Server.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InterNations/http-mock/HEAD/src/Server.php -------------------------------------------------------------------------------- /src/Util.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InterNations/http-mock/HEAD/src/Util.php -------------------------------------------------------------------------------- /src/app.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InterNations/http-mock/HEAD/src/app.php -------------------------------------------------------------------------------- /state/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/AppIntegrationTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InterNations/http-mock/HEAD/tests/AppIntegrationTest.php -------------------------------------------------------------------------------- /tests/Fixtures/Request.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InterNations/http-mock/HEAD/tests/Fixtures/Request.php -------------------------------------------------------------------------------- /tests/Matcher/ExtractorFactoryTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InterNations/http-mock/HEAD/tests/Matcher/ExtractorFactoryTest.php -------------------------------------------------------------------------------- /tests/Matcher/StringMatcherTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InterNations/http-mock/HEAD/tests/Matcher/StringMatcherTest.php -------------------------------------------------------------------------------- /tests/MockBuilderIntegrationTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InterNations/http-mock/HEAD/tests/MockBuilderIntegrationTest.php -------------------------------------------------------------------------------- /tests/PHPUnit/HttpMockMultiPHPUnitIntegrationTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InterNations/http-mock/HEAD/tests/PHPUnit/HttpMockMultiPHPUnitIntegrationTest.php -------------------------------------------------------------------------------- /tests/PHPUnit/HttpMockPHPUnitIntegrationBasePathTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InterNations/http-mock/HEAD/tests/PHPUnit/HttpMockPHPUnitIntegrationBasePathTest.php -------------------------------------------------------------------------------- /tests/PHPUnit/HttpMockPHPUnitIntegrationTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InterNations/http-mock/HEAD/tests/PHPUnit/HttpMockPHPUnitIntegrationTest.php -------------------------------------------------------------------------------- /tests/Request/UnifiedRequestTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InterNations/http-mock/HEAD/tests/Request/UnifiedRequestTest.php -------------------------------------------------------------------------------- /tests/RequestCollectionFacadeTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/InterNations/http-mock/HEAD/tests/RequestCollectionFacadeTest.php --------------------------------------------------------------------------------