Рет қаралды 7,090
This video will explore the conditions that would make us interested in testing the arguments passed around our application methods, and howe we can extract the Objects that are passed using the ArgumentCaptor.
With the ArgumentCaptor, we are able to isolate Object arguments away from the stack that calls it, to then test them on their own back in the test class.
Comment, like and subscribe for more content on Java and software engineering.
Visit my website to also see my blogs: aneesh.co.uk