We have sling model. For example:
@Model(adaptables=Resource.class)
public class MyModel {
@Inject
private String propertyName;
public Image getPropertyName) {
return propertyName;
}
}
We would like to test it via simplest approach possible.
What would be this approach(without reflection)?
Thanks
Aucun commentaire:
Enregistrer un commentaire