I have been struggling for a while, with the following. In a Robolectric unit test, I use a file in the assets folder to read as mock input. This used to work fine, until a few months ago. I see that the assets folder is not included in the I have been struggling for a while, with the fo