+ 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();