Commit Graph

56 Commits

Author SHA1 Message Date
edizor 110cf95773 Update README.md
[skip ci]
2023-12-17 08:07:58 +08:00
panos-kakos bf1aaf197f [JAVA-28504] Clean up 2023-12-08 08:51:11 +01:00
Sam Gardner 75afba12d1 BAEL-7240 Add example code for verifying lambda calls with mockito 2023-12-04 13:18:04 +00:00
edizor fe818359cc Update README.md
[skip ci]
2023-09-30 00:21:44 +08:00
edizor 8b50598314 Update README.md
[skip ci]
2023-09-21 20:04:09 +08:00
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
edizor b032c439b3 Update README.md
[skip ci]
2023-09-16 09:05:48 +08: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
Bipin kumar cd747f077b Java 22625 S to Z (#14332)
* JAVA-22625: Changes made for module T to Z formatting the pom.xml

* JAVA-22625: Changes made for module S  to Z formatting the pom.xml
2023-06-30 16:38:28 +05:30
edizor 2ec227acf0 Update README.md
[skip ci]
2023-06-21 17:53:50 +08:00
Loredana Crusoveanu 5db672092a Merge pull request #14238 from edizor/master
Update README
2023-06-16 12:49:21 +03: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
edizor 7bf3991066 Update README.md
[skip ci]
2023-06-15 23:04:52 +08: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
freelansam 456652e02b JAVA-16563: Fix formatting of POMs (#13175) 2022-12-20 22:37:54 +05:30
edizor 2987e954fe Update README.md
[skip ci]
2022-11-11 09:35:38 +08: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
Azhwani 7f97acf361 BAEL-4469: Update Introduction to Mockito AdditionalAnswers (#12267)
* init commit

* improve test cases
2022-06-05 17:26:59 +02:00
sampadawagde 65f643262d JAVA-9022: Fix formatting of POMs 2022-01-10 22:05:47 +05:30
chaos2418 000dcdf966 JAVA-3591: updating mockito-core to 4.1.0 2021-12-18 13:40:53 +05:30
chaos2418 af4b37592b JAVA-8267: updating testing-modules's junit and surefire configurations 2021-11-04 16:56:08 +05:30
Dhawal Kapil 1ab0a19d25 Java 3590 (#11367) (#11380)
* Java 3590 (#11367)

* JAVA-3590: updating junit-jupiter dependency in the main pom.xml

* resolving unnecessary mockito stubbings exception

* adding junit-bom in dependency management

* fixing tests which were not getting discovered

* Revert "fixing tests which were not getting discovered"

This reverts commit 2e9ed8df42eb96f7e0929167aabbc2ddd374a263.

* fixing tests in ninja, open-liberty and spring-ejb

* removing junit4 dependency and replacing it with junit-vintage-engine

* removing junit4 dependency and replacing it with junit-vintage-engine in testing-modules, maven-modules and aws-lambda

* removing junit dependency and replacing it with junit-vintage-engine

* removing junit and replacing it with junit-vintage-engine

* fixing tests that were not getting discovered due to old version of junit:junit

* updated failsafe plugin configuration to skip integration tests in blade

* fixing tests that were not getting discovered due to old version of junit:junit

* fixing tests in libraries and libraries-2 modules

Co-authored-by: chaos2418 <>

* Java 3590 - fixing integration tests in restx and spring-5-webflux (#11382)

* JAVA-3590: updating junit-jupiter dependency in the main pom.xml

* resolving unnecessary mockito stubbings exception

* adding junit-bom in dependency management

* fixing tests which were not getting discovered

* Revert "fixing tests which were not getting discovered"

This reverts commit 2e9ed8df42eb96f7e0929167aabbc2ddd374a263.

* fixing tests in ninja, open-liberty and spring-ejb

* removing junit4 dependency and replacing it with junit-vintage-engine

* removing junit4 dependency and replacing it with junit-vintage-engine in testing-modules, maven-modules and aws-lambda

* removing junit dependency and replacing it with junit-vintage-engine

* removing junit and replacing it with junit-vintage-engine

* fixing tests that were not getting discovered due to old version of junit:junit

* updated failsafe plugin configuration to skip integration tests in blade

* fixing tests that were not getting discovered due to old version of junit:junit

* fixing tests in libraries and libraries-2 modules

* fixing integration tests in restx and spring-5-webflux

Co-authored-by: chaos2418 <>

Co-authored-by: chaos2418 <92030908+chaos2418@users.noreply.github.com>
2021-10-29 09:37:04 +05:30
sampadawagde d9db0949cb JAVA-5223: Fix formatting of POMs (Testing Modules) 2021-05-17 20:23:43 +05:30
johnA1331 b6570de637 Update README.md 2021-01-28 01:11:32 +08:00
Jonathan Cook 9144660a72 BAEL-4756 - Mockito MockSettings - fix spelling (#10438)
* 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

* BAEL-4756 - Mockito MockSettings - fix spelling

Co-authored-by: Jonathan Cook <jcook@sciops.esa.int>
2021-01-23 07:08:50 +01:00
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
Loredana Crusoveanu 11818a04a3 Merge pull request #10029 from Maiklins/Java-2136-update-jackson-version-in-main-pom
Java-2136 update jackson version in main pom
2020-09-30 10:53:54 +03:00
johnA1331 5ae7a913cf Update README.md 2020-09-16 23:48:50 +08:00
mikr 6927cc7237 Java-2136 Use Jackson version from main pom in all other applicable modules 2020-09-14 13:11:59 +02:00
fanatixan 74efd2530e added code snippets for bael-4554 (#9979) 2020-09-06 19:13:25 -07:00
johnA1331 308bd8998b Update README.md 2020-08-20 13:07:18 +08:00
Loredana Crusoveanu db4c926b1a Merge pull request #9773 from eugenp/BAEL-16668-v2
Bael 16668 v2
2020-08-13 17:13:32 +03:00
kwoyke 6889e238ff BAEL-3415: Get rid of the MockitoAnnotations.initMocks (#9787) 2020-07-30 07:50:21 +02:00
Loredana 2dbb667128 article was moved to mockito-2; remove duplicate methods from mockito module 2020-07-27 12:01:55 +03: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 ab755bf098 Add static class to 'eq' and 'when' for greater readability. 2020-07-21 21:32:40 +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
KevinGilmore c122add13e Bael 4026 (#9433)
* BAEL-3336 BAEL-3058 add links

* BAEL-3319: add link

* BAEL-3284: add link

* BAEL-3198: add link to article

* BAEL-3479: add link to article

* BAEL-3485: add article link

* SCALA-38: move to new package and add link back to article

* SCALA-38: add imports back into unit test

* BAEL-3908: add link back to article

* BAEL-2893 BAEL-3927 add link back to article

* BAEL-4026: update README.md
2020-06-03 22:20:43 -05:00
johnA1331 424fecc7d9 Update README.md 2020-05-05 17:23:23 +08:00
KevinGilmore d090c9b059 BAEL-2893 BAEL-3927 update README files (#9171)
* BAEL-3336 BAEL-3058 add links

* BAEL-3319: add link

* BAEL-3284: add link

* BAEL-3198: add link to article

* BAEL-3479: add link to article

* BAEL-3485: add article link

* SCALA-38: move to new package and add link back to article

* SCALA-38: add imports back into unit test

* BAEL-3908: add link back to article

* BAEL-2893 BAEL-3927 add link back to article
2020-04-24 22:28:04 -05: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