I heard about
Test Driven Development where we write out testcase first and then code .I don't know how we can write testcase to test a method if we yet don't implemented the class.I am using
Junit for unit test case.Can anyone please tell me with example.