Puspender Tanwar 🧘🏻♂️@puspendert
#springboot #springboottest #UnitTest
If your service method is doing some internal calculation which doesn't require any dependency, then instead of defining that under same class, create a separate class.
Having it under same class makes it hard to unit-test.
continue...
112


