Content type 'application/octet-stream' not supported for bodyType when using MockServer in spring boot
I am trying to test the serialization of responses between two microservices. For that I want my mocked service to return a predefined response every time a post request to a specific path is made, but it throws errors. I tried pretty much everything in my power so far so I turn to thy oh mighty spring boot developers. How can I make this work?
My test class:
@SpringBootTest
@ActiveProfiles("testing")
@TestInstance(TestInstance.Lifecycle.PER_CLASS)
class RemoteAccountPersistenceAdapterTest {...