• ricardo@cloud2b.com.br
  • NEWBIE
  • 0 Points
  • Member since 2011

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies

Hello People,

 

I have the class:

 

global class Parcelamento {

     Webservice static String Parcela(String idOpp){
          return Parcelamento.ExecutarParcelamento(idOpp);
      }

      public static String ExecutarParcelamento(String idOpp){ 

           //operations

      }

 } 

and my class test is:

 

private class testParcelamento {

     static testMethod void myUnitTest() {
         Parcelamento.ExecutarParcelamento([Select id from Opportunity limit 1].id);
     }
}

And my error is:  Save error: Method does not exist or incorrect signature: Parcelamento.ExecutarParcelamento(Id)

 

Help me.

 

Thank you