gRPC test stub for unit and integration testing
Let’s imagine we have a gRPC service: We are writing a unit test or integration test, and we need to make a test stub for this service. Let’s use Mockito. The code we write below can be used in any way. You can even use it in pure Java. Let’s connect the dependencies to the project: Now, let’s mock […]
READ MORE