TDD, Unit Test and mocks injection: What about the Single Responsability principle?
I’m writing a Unit Test for a Class (CustomHttpClient
) that internally uses a library (java.net.http.HttpClient
) to make an external HTTP call.
I’m writing a Unit Test for a Class (CustomHttpClient
) that internally uses a library (java.net.http.HttpClient
) to make an external HTTP call.