I am looking to write a custom java rule to enforce that a test class name follows a regex pattern, but also contains a valid class name from the main scope. For example, the class in main scope:
package com.test;