Very easy. You can time how long does it take you to read this tutorial
Is it possible for us to record our actions and convert them as test cases??
Now you're confusing unit tests with functional tests. There are separate tools for recording user actions. JUnit is a framework for writing unit tests, although some recording tools might produce JUnit-compatible classes as output.