I already debug it and in IDE there are no errors and test cases are pass. Also when I try to run single test case through maven it is pass. Also I checked the mockito documentation nothing is mentioned related to aemContext. As I already mentioned that error is coming while creatin page from aemCon...