Create GetrequiredListTest.java 

This is the junit Test class.unite test class will be similar. I was bit hurry :)