I have created an apex class with an @InvocableMethod and it works beautifully in my Sandbox, returning a single string converted from an actual return type of List<Response>. Now I need to create a test class and have only one problem remaining when calling the class. The line
List<Response> testGetHull = GW_SRO_Get_HullId.getIdFromString(new List<Request>{hullid});gives the error: Method does not exist or incorrect signature: void getIdFromString(List<GW_SRO_Get_HullIdTest.Request>) from the type GW_SRO_Get_HullId
hullid is populated with a single Request inputstring and the method returns List<Response>
What could be wrong here?
#Apex
