If you were to attempt to diagnose/test it, I'd do so with all other functional elements disabled on the bike and hook that to a battery and the stator in this way:
3 Whites to any of the 3 Yellows coming from stator.
The Black to battery NEG.
the Red to battery POS.
That will permit you to start the motor then examine the voltage at the battery which should be well above 14v with the motor running at 3,000RPMS.
Without a connection to the field coil, or a connection from switched 12v to the regulator portion, the charging system will not function, and the voltage will not rise to 14v.
Mahoo, the regulator you have *may* be compatible with the CB system, but since it doesn't use the standard Honda color codes, it's hard to say. Are you using the stock wiring harness?
PS As this question is not related to M-unit, M-button, M-gadget, M-relay etc, it should be moved to the main bikes forum.