Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/twobiers/mockbean-rabbitmq
https://github.com/twobiers/mockbean-rabbitmq
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/twobiers/mockbean-rabbitmq
- Owner: twobiers
- Created: 2023-01-13T16:32:19.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-13T17:09:52.000Z (about 2 years ago)
- Last Synced: 2024-10-28T15:13:58.071Z (3 months ago)
- Language: Java
- Size: 64.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# README
Example Repo for question: https://stackoverflow.com/questions/75111282/using-spring-boot-mockbean-annotation-in-test-inheritance?noredirect=1#comment132548073_75111282
## Running the tests
See stdout for the test output.
```bash
./gradlew test
```
It should contain:
```
FirstTest
BeanToConsume is of type: com.example.mockbeantest.BeanToConsume
SecondTest
BeanToConsume is of type: com.example.mockbeantest.BeanToConsume
```Although I would expect the SecondTest to print a Mock of BeanToConsume.