Relative Content

Tag Archive for spring-bootgoogle-cloud-platformjunitmockito

Junit for GCS files reading in spring boot

I have an application in spring boot where I am fetching multiple files from GCS and then iterate to read file content. I am able to mock gcs storage but not able to mock the file content. I want to use some dummy xml file from test source folder to read the content. Following is the code snippet.