Unit Testing in Java: Testing Private Methods with Reflection

Published: 21 March 2020
on channel: Dmitry Finashkin
4,100
198

Unit Testing in Java: Testing private methods using reflection

Link to the poll about the topic of the next videos after the end of the cycle about unit tests    / @finashkindmitry  

The video tells how to write a unit test for a method that is defined in the corresponding class as private and, accordingly, is not visible from outside the class.

The video also briefly explains what reflection and exceptions are in Java

If you want your questions / problems with Java to be answered, leave them under the video, about once every 2-3 weeks a video with answers to questions will be released

All examples are shown in Intellij Idea

If you liked the video, do not forget to like and subscribe to the channel!

VK Group - https://vk.com/rocketjava
My website - https://hellojava.dev
Twitter -   / f_dmitrijs  
Instagram -   / dmitrijs.f  
Linkedin -   / dmitrijs-finaskins-a69598a5  
Facebook -   / dmitry.finashkin  


On this page of the site you can watch the video online Unit Testing in Java: Testing Private Methods with Reflection with a duration of hours minute second in good quality, which was uploaded by the user Dmitry Finashkin 21 March 2020, share the link with friends and acquaintances, this video has already been watched 4,100 times on youtube and it was liked by 198 viewers. Enjoy your viewing!