To Wirte Junit Test Case for generic array :   

>  I am new to Junit , kindly let me know how can I write a test case the below method which generic.

        public <T> T getValueAtIndex(int i) {
        return (T) values[i];
    }

       
     



