function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
abinayaabinaya 

Test Class help

hi team,

i have a global class and it has inner class and that is also a global class.

For ex:

global with sharing  class x

{
  
global class y
{
  // here i have  a method
}
}

How to call the inner class and its method in test class

Regards,
Abi
Blake TanonBlake Tanon
this should work

x outClass = new x();

x.y();