Skip to content

Commit 84c8a38

Browse files
committed
Minor tweak
1 parent 3a8ac2e commit 84c8a38

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

testing.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -284,11 +284,10 @@ Mocking Dependencies
284284
--------------------
285285

286286
Sometimes it can be useful to mock a dependency of a tested service.
287-
288287
From the example in the previous section, let's assume the
289288
``NewsletterGenerator`` has a dependency to a private alias
290289
``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
292291
concrete one::
293292

294293
// ...
@@ -320,7 +319,7 @@ concrete one::
320319
}
321320

322321
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:
324323

325324
.. configuration-block::
326325

0 commit comments

Comments
 (0)