LPS-50031 Use enclosed classes test pattern