Commit Graph

58 Commits

Author SHA1 Message Date
Loredana Crusoveanu
53b48abda6 Merge pull request #14238 from edizor/master
Update README
2023-06-16 12:49:21 +03:00
davidmartinezbarua
59f684a57a 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
01030b808f Update README.md
[skip ci]
2023-06-15 23:04:52 +08:00
thibault.faure
d74e9e8012 BAEL-6482 Code for the Matching Null With Mockito article 2023-06-10 16:30:05 +02:00
thibault.faure
cd67755469 BAEL-6587 Code for the Mockito Exception article 2023-06-05 20:19:07 +02:00
freelansam
55810387b4 JAVA-16563: Fix formatting of POMs (#13175) 2022-12-20 22:37:54 +05:30
edizor
33a61e1c09 Update README.md
[skip ci]
2022-11-11 09:35:38 +08:00
Abhinav Pandey
ae2c901291 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
976e355b1f 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
8c27a25ae1 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
bc0f290d0e BAEL-4469: Update Introduction to Mockito AdditionalAnswers (#12267)
* init commit

* improve test cases
2022-06-05 17:26:59 +02:00
sampadawagde
150dbd10e7 JAVA-9022: Fix formatting of POMs 2022-01-10 22:05:47 +05:30
chaos2418
35ee789731 JAVA-3591: updating mockito-core to 4.1.0 2021-12-18 13:40:53 +05:30
chaos2418
fcd8ed7c4f JAVA-8267: updating testing-modules's junit and surefire configurations 2021-11-04 16:56:08 +05:30
Dhawal Kapil
5f9befd0c4 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 2e9ed8df42.

* 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 2e9ed8df42.

* 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
bbc0f4f86f JAVA-5223: Fix formatting of POMs (Testing Modules) 2021-05-17 20:23:43 +05:30
johnA1331
0942b841b2 Update README.md 2021-01-28 01:11:32 +08:00
Jonathan Cook
a319fc8931 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
23a87a0319 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
3fb80e088c 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
b207abc099 Update README.md 2020-09-16 23:48:50 +08:00
mikr
688bc54bce Java-2136 Use Jackson version from main pom in all other applicable modules 2020-09-14 13:11:59 +02:00
fanatixan
4c07727da9 added code snippets for bael-4554 (#9979) 2020-09-06 19:13:25 -07:00
johnA1331
3a75b23357 Update README.md 2020-08-20 13:07:18 +08:00
Loredana Crusoveanu
5b2f78ae65 Merge pull request #9773 from eugenp/BAEL-16668-v2
Bael 16668 v2
2020-08-13 17:13:32 +03:00
kwoyke
c59b4cf94d BAEL-3415: Get rid of the MockitoAnnotations.initMocks (#9787) 2020-07-30 07:50:21 +02:00
Loredana
0c0dbe8750 article was moved to mockito-2; remove duplicate methods from mockito module 2020-07-27 12:01:55 +03:00
developerDiv
888926fe73 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
445d0ecf61 Add static class to 'eq' and 'when' for greater readability. 2020-07-21 21:32:40 +01:00
developerDiv
8b2fe7b8a8 Rename tests 2020-07-19 15:44:48 +01:00
developerDiv
c9a65c76e2 Initial commit of ArgumentCaptor 2020-07-19 09:35:35 +01:00
KevinGilmore
e08abd7238 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
5a62136470 Update README.md 2020-05-05 17:23:23 +08:00
KevinGilmore
0f5bb1653d 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
d0e8752b69 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
202c7d1f90 additional answers mockito change repository method (#9082) 2020-04-15 21:15:59 +02:00
Belma Jakupovic
6c13633cac Belma Jakupovic - Mockito additional answers (#9041) 2020-04-06 20:22:28 +02:00
johnA1331
5a4858919d Update README.md 2020-03-23 18:50:53 +08:00
johnA1331
9523b4f0e5 Update README.md 2020-03-23 18:50:03 +08:00
johnA1331
1034aecdde Update README.md 2019-12-19 18:34:18 +08:00
catalin-burcea
2f7e94bc92 [BAEL-18783] - Fix formatting of POMs 2019-12-06 11:40:56 +02:00
Jonathan Cook
dbcf7a1f9d 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
Catalin Burcea
2255577ffd [BAEL-16668] Split or move testing-modules/mockito module (#7835)
* Split or move testing-modules/mockito module

* [BAEL-16668] fix after merge with master
2019-09-28 13:23:52 -06:00
Loredana Crusoveanu
f51429bfe6 Update README.md 2019-05-07 23:36:08 +03:00
Jon Cook
3297adc992 BAEL-2125 - Mockito UnnecessaryStubbingException 2019-05-02 14:47:14 +02:00
amit2103
97f8a0c46c [BAEL-12091] - Fix formatting of POMs 2019-02-10 01:47:19 +05:30
Dhawal Kapil
4058bfc601 BAEL-9567 Align module names, folder names and artifact id
- Added "name" in pom.xml whereever it was missing and aligned the present ones with the artifactid and foldername
2018-11-30 22:16:08 +05:30
Dhawal Kapil
f2c2287b65 BAEL-8143 Update Mockito articles
-Upgraded mockito version to 2.21.0
2018-08-14 08:47:47 +05:30
amit2103
d268ffa5c9 [BAEL-7670] Added logback.xml in missing modules in src/main/resources 2018-08-05 18:40:49 +05:30
Sanjay Patel
cddf858c05 BAEL-5246: pom cleanup (#4620)
* BAEL-5246: round 1 of pom cleanup - upto "jersey" project

* BAEL-5246: Initial pass for pom cleanup - upto spring-cloud

* BAEL-5246: pom cleanup upto testing-modules/junit5

* BAEL-5246: pom cleanup - upto xstream

* BAEL-5246: pom cleanup - last round (before review)
2018-07-12 09:04:54 +02:00