File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -284,11 +284,10 @@ Mocking Dependencies
284
284
--------------------
285
285
286
286
Sometimes it can be useful to mock a dependency of a tested service.
287
-
288
287
From the example in the previous section, let's assume the
289
288
``NewsletterGenerator `` has a dependency to a private alias
290
289
``NewsRepositoryInterface `` pointing to a private ``NewsRepository `` service
291
- and we would like to use a mocked ``NewsRepositoryInterface `` instead of the
290
+ and you'd like to use a mocked ``NewsRepositoryInterface `` instead of the
292
291
concrete one::
293
292
294
293
// ...
@@ -320,7 +319,7 @@ concrete one::
320
319
}
321
320
322
321
In order to make the alias public, you will need to update configuration for
323
- the ``test `` environment as follow :
322
+ the ``test `` environment as follows :
324
323
325
324
.. configuration-block ::
326
325
You can’t perform that action at this time.
0 commit comments