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
m 3m 3 

write a test class below code with using system.assertequals

* Controller class for C_Header component
 */
public without sharing class C_HeaderCntl {
    @AuraEnabled
    public static String getContactTypeDetail(){
        return C_Utilities.getContactTypeDetail();
    }
}
so_mayankso_mayank
@isTest
public class C_HeaderCntlTest {
   
    @isTest
    public static void testGetContactTypeDetail() {
        System.assertEquals('[EXPECTED_VALUE]', C_HeaderCntl.getContactTypeDetail());
    }
}
If this resolves your query, kindly mark it as the best answer.