Commit 2a6c3d4
authored
Update Service Layer Testing examples (#2458)
Updates the Service Layer Testing documentation examples to inject
`CatalogService` directly instead of `CqnService`.
The `@Qualifier` annotation is no longer required when using the typed
service interface, making the examples simpler.
Also, a duplicate catalogService.emit(context) call in the
submitOrderExceedingStock example was removed.1 parent 6015c0d commit 2a6c3d4
1 file changed
Lines changed: 3 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
151 | | - | |
152 | | - | |
| 151 | + | |
153 | 152 | | |
154 | 153 | | |
155 | 154 | | |
| |||
172 | 171 | | |
173 | 172 | | |
174 | 173 | | |
175 | | - | |
176 | | - | |
| 174 | + | |
177 | 175 | | |
178 | 176 | | |
179 | 177 | | |
| |||
196 | 194 | | |
197 | 195 | | |
198 | 196 | | |
199 | | - | |
200 | | - | |
| 197 | + | |
201 | 198 | | |
202 | 199 | | |
203 | 200 | | |
| |||
206 | 203 | | |
207 | 204 | | |
208 | 205 | | |
209 | | - | |
210 | 206 | | |
211 | 207 | | |
212 | 208 | | |
| |||
0 commit comments