Select project -> New -> Folder (not source folder) -> Select the project again -> Enter the folder name as (src/test/java) -> finish. That's it.
If the test source is missing, it would link it automatically. If not, then require to link it manually.