Skip to:
In order to get Object properties such as arrays or dates from my content fragments, I call contentFragment.getElement(fieldName).getValue().getValue(). However, these getValue() calls are not supported in https://github.com/wcm-io/wcm-io-testing/blob/develop/aem-mock/core/src/main/java/io/wcm/testing/mock/aem/MockContentFragment_ContentElement_Structured.java, so it cannot be tested.
getContent() is available, but this only returns a String and thus is not the appropriate method I need.
In order to get Object properties such as arrays or dates from my content fragments, I call contentFragment.getElement(fieldName).getValue().getValue(). However, these getValue() calls are not supported in https://github.com/wcm-io/wcm-io-testing/blob/develop/aem-mock/core/src/main/java/io/wcm/testing/mock/aem/MockContentFragment_ContentElement_Structured.java, so it cannot be tested.
getContent() is available, but this only returns a String and thus is not the appropriate method I need.