Fixed test. Right presentation for Java inner static classes in generic parent class.
(cherry picked from commit 1f8ff1c)