I need to add a special resources file to a user project (for example, MockMaker file from this tutorial https://javadoc.io/doc/org.mockito/mockito-core/latest/org/mockito/Mockito.html#39)
So I have an instance of test module (com.intellij.openapi.module) and I need:
- to create test resources root if not exists
- mark it as test resources root
- add a file to this test resources root
What is a best way to do it?