Moq static class in unit test, Xunit

49 Views Asked by At

I added dll reference's of another project, I used xunit, I want to moq the functions of it, like this code

public bool Test(string value)
 {
   // using ACPUtilityManager.HelperUtility: ACPUtilityManager is reference of another project librairy  
   // WebServiceUtility: static class , testMoq(value)  method of this class  
     var ttt = WebServiceUtility.testMoq(value);
    
     return true;
 }

but i can't moq this a class, help me please

0

There are 0 best solutions below