current location: Home > download site > Library download > Other libraries > mockery-master Mock object PHP library for testing
mockery-master Mock object PHP library for testing
Classify: Library download / Other libraries | Release time: 2017-12-19 | visits: 1873 |
Download: 59 |
Latest Downloads
Fantasy Aquarium
Girls Frontline
Wings of Stars
Little Flower Fairy Fairy Paradise
Restaurant Cute Story
Shanhe Travel Exploration
Love and Producer
The most powerful brain 3
Odd Dust: Damila
Young Journey to the West 2
24 HoursReading Leaderboard
- 1 Development of a web application for searching air tickets using Angular 18
- 2 Math Namespace & BigInt
- 3 XOR Queries of a Subarray
- 4 Angular 18 UI KIT development
- 5 Development of core services and utilities in Angular 18
- 6 JavaScript `string.replace()` useful cases
- 7 How to Implement Batch Message Consumption with RocketMQ in Spring Boot
- 8 Implementation of search and integration with external API in Angular 18
- 9 Beyond JavaScript - Why + doesnt equal in programming
- 10 Creating a Basic Framework for Angular 18
- 11 Payment Gateway and Shipping Integrator
- 12 Biden, Starmer to discuss letting Kyiv use long-range missiles against Russia
- 13 Ripple (XRP) Price Prediction: Will XRP Break Its Stagnant Phase?
- 14 MY PHP MVC
- 15 Xiaomi reveals new smart body composition scale with 3.5-inch display
Latest Tutorials
-
- Go language practical GraphQL
- 1558 2024-04-19
-
- 550W fan master learns JavaScript from scratch step by step
- 2953 2024-04-18
-
- Getting Started with MySQL (Teacher mosh)
- 1438 2024-04-07
-
- Mock.js | Axios.js | Json | Ajax--Ten days of quality class
- 2291 2024-03-29
<?php use Mockery\ExpectationInterface; use Mockery\Generator\CachingGenerator; use Mockery\Generator\Generator; use Mockery\Generator\MockConfigurationBuilder; use Mockery\Generator\StringManipulationGenerator; use Mockery\Loader\EvalLoader; use Mockery\Loader\Loader; use Mockery\Matcher\MatcherAbstract; class Mockery { const BLOCKS = 'Mockery_Forward_Blocks'; ar \Mockery\Container protected static $_container = null; protected static $_config = null;
This tool can quickly simulate the third-party HTTP server interface through simple configuration, replacing the previous process of handwriting servlet code and then placing it under tomcat.
Please read the tool usage guide carefully before use:
1. Install jdk1.6 or above;
2. The GUI consists of three parts, port settings, URL and response File path setting, console;
3. The port is set to the local port that needs to be monitored, the range is 1-65532;
4. The URL and response file path setting is a 2-column 9 Each row of the table contains two configurations. Both configurations are easy to understand from their names. Just fill them in correctly;
5. Note: After the input is completed, you need to click on other rows of the table to cancel the mouse. focus, so that the tool can recognize that the current input box has been modified. The shortcut key for copying and pasting under OSX is still ctr c/v;
6. The console is divided into two parts, three buttons and one text The function of the display area and buttons can be understood from the name. The text display area displays the URL, header field, and message body of the received HTTP request. There is a clear button when you right-click;
7. Multiple ports need to be monitored. Just copy multiple jar files and open them.