
1.Create a class Assertion. Create an assertion that passes or fails based on whether a command line argument has been provided.

Please visit the following link:
http://www.roseindia.net/javatutorials/use-assertion-in-java.shtml
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.