@@ -8,16 +8,15 @@ injection container. It is particularly useful in functional tests.
88
99## Features
1010
11- * Mock any Symfony service
12- * Service class auto-detection
13- * Support for custom mocking frameworks
14- * Ability to mock framework parameters
15- * Support Symfony versions 2.7 - 3.4
16- * Works with all supported PHP versions
11+ * Can replace any Symfony service or parameter
12+ * Automatically detects service class from service definition
13+ * Can be used with any mocking framework
14+ * Compatible with Symfony versions 2.7 - 3.4
15+ * Works on all supported version of PHP
1716
1817## OTB supported mocking frameworks
1918
20- * phpspec/prophecy
19+ * [ phpspec/prophecy] ( https://github.com/phpspec/prophecy )
2120
2221## Installation
2322
@@ -66,9 +65,9 @@ class AppKernel extends Kernel
6665And clear application cache.
6766
6867
69- ## Features
68+ ## Examples
7069
71- ### Simple mocking
70+ ### Inject mocked service
7271
7372``` php
7473<?php
@@ -112,7 +111,7 @@ class AcmeControllerTest extends WebTestCase
112111}
113112```
114113
115- ### Class name autodetection
114+ ### Inject automatically mocked service
116115
117116> feature works only with flag "debug" enabled.
118117
@@ -123,7 +122,7 @@ $mock
123122 ->willReturn(true);
124123```
125124
126- ### Custom mocking framework
125+ ### Other mocking frameworks
127126
128127``` php
129128// create stub
0 commit comments