21 Commits

Author SHA1 Message Date
Jonathan Cook
2e58e30ffa BAEL-6221 Get Mocks from MockedConstruction in Mockito (#14776)
Co-authored-by: jcook02 <jonathan.paul.cook@ext.esa.int>
2023-09-19 18:51:33 +02:00
Shahul Basha
f3069c6ebc BAEL-6830 (#14742)
* BAEL-6830 example changed based on editor review comments

* BAEL-6830 example changed based on editor review comments

* BAEL-6830 example changed based on editor review comments
2023-09-10 08:45:10 -07:00
davidmartinezbarua
c23598241f Merge pull request #14721 from sam-gardner/BAEL-6729-mock-same-method-different-params
BAEL-6729 Add example code for mocking one method with multiple param…
2023-09-08 14:17:23 -03:00
Shahul Basha
75046a3f32 BAEL-6830 (#14722)
* BAEL-6830 initial commit

* BAEL-6830 clean up code
2023-09-05 17:41:18 -07:00
Sam Gardner
4c7bc8d19a BAEL-6729 Add example code for mocking one method with multiple parameters 2023-09-05 19:18:56 +01:00
davidmartinezbarua
fec5f3af14 Merge pull request #14220 from thibaultfaure/article/BAEL-6482
BAEL-6482 Code for the Matching Null With Mockito article
2023-06-15 17:05:53 -03:00
thibault.faure
d928abe033 BAEL-6482 Code for the Matching Null With Mockito article 2023-06-10 16:30:05 +02:00
thibault.faure
1e4c42c6d1 BAEL-6587 Code for the Mockito Exception article 2023-06-05 20:19:07 +02:00
Abhinav Pandey
113c42199a BAEL-5777 - Mocking a singleton with Mockito (#12977)
* BAEL-5777 - Mocking a singleton with Mockito

* BAEL-5777 - Mocking a singleton with Mockito - changing test class name

* BAEL-5777 - Mocking a singleton with Mockito - moving to new module
2022-11-07 10:17:03 +05:30
anuragkumawat
b23fcdc4c4 JAVA-13336 Refactor mockito modules (#12517)
* JAVA-13336 Refactor mockito modules

* JAVA-13336 Fix Jenkins build
2022-07-21 23:10:50 +05:30
Dhawal Kapil
24d4feb541 JAVA-12032 Move Mockito ebook articles code to common module - mockito-simple- Delete mockito-3 since it had only 1 article which was moved to mockito-simple 2022-07-15 17:52:21 +05:30
Jonathan Cook
b9c81b0ced BAEL-4756 - Mockito MockSettings (#10423)
* BAEL-4706 - Spring Boot with Spring Batch

* BAEL-3948 - Fix test(s) in spring-batch which leaves repository.sqlite
changed

* BAEL-4736 - Convert JSONArray to List of Object using camel-jackson

* BAEL-4756 - Mockito MockSettings

Co-authored-by: Jonathan Cook <jcook@sciops.esa.int>
2021-01-17 11:39:53 +01:00
fanatixan
74efd2530e added code snippets for bael-4554 (#9979) 2020-09-06 19:13:25 -07:00
developerDiv
55d15037c0 Rename DeliveryPlatform send method to 'deliver' to aid readability and avoiding confusion with EmailService.send method
Re-arrange order of mocks and inject mocks

Rename argument matcher and captor tests
2020-07-26 17:08:44 +01:00
developerDiv
8309e56268 Rename tests 2020-07-19 15:44:48 +01:00
developerDiv
2a88d24386 Initial commit of ArgumentCaptor 2020-07-19 09:35:35 +01:00
Gergo Petrik
b31b84d475 Mockint objectmapper with mockito (#9017)
* Mockint objectmapper with mockito

* enforcing naming convention for test classes

* removed Spring

* removed unattended changes

* modified example

* simplified call stack in flower validator
2020-04-24 09:00:30 -05:00
Belma Jakupovic
86c4eea3dd additional answers mockito change repository method (#9082) 2020-04-15 21:15:59 +02:00
Belma Jakupovic
b30ee62805 Belma Jakupovic - Mockito additional answers (#9041) 2020-04-06 20:22:28 +02:00
Jonathan Cook
b4e12c3cbf BAEL-3416 - Mockito and Fluent APIs (#8201)
* BAEL-3416 - Mockito and Fluent APIs
- stage changes

* staging changes

* BAEL-3416 - Mockito and Fluent APIs
2019-11-17 08:44:14 -08:00
Eric Martin
3225470df5 Merge pull request #8125 from eugenp/revert-8119-BAEL-3275-2
Revert "BAEL-3275: Using blocking queue for pub-sub"
2019-10-31 20:43:47 -05:00