Generate Test Command doesn't recognize language

I tried using the “Generate Test” command a few times and each time it failed to recognize that the project is almost 100% Java with JUnit as the test library. The first time around it thought I was using JavaScript+Jest, the next time it thought I was coding in Go.

Is there a way to modify the command prompt to specify the language and testing library so the LLM doesn’t have to guess?