Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/twobiers/mockbean-rabbitmq


https://github.com/twobiers/mockbean-rabbitmq

Last synced: about 1 month ago
JSON representation

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.