I am unable to mock Document Interface and Element interface,
Document doc=((Element) createData.getExtensible().getAny().get(0)).getOwnerDocument();
Getting classcastException : As any() is of List type. Not sure how to proceed.
Any suggestion will be a great help. Not Sure how to mock using Mockito.mock().
Aucun commentaire:
Enregistrer un commentaire