Posts by DaviM • 1 point
3 posts
-
0
votes1
answer49
viewsA: Mock and inject a service class at the same time
If you use @Autowired you will not mock the values, you will follow the normal flow, in case you search for data in the database. You have to use @Injectmocks and @Mock
-
0
votes1
answer217
views -
-1
votes2
answers402
viewsA: Redirect JSF error
Exchange the & for &. Look at this the response of the following link: https://stackoverflow.com/questions/6483807/the-reference-to-entity-foo-must-end-with-the-delimiter "The ampersand…