Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Local interfaces or multiple interfaces in a test double

former_member610335
Participant
0 Likes
833

Hello,

I'm just trying to learn something about the test doubles.

According to the documentation it is not possible to use local interfaces. Is there another way to define two or more interfaces in a test double?

I know the way via a local test class, I just want to make sure it doesn't get any easier.

Thanks a lot

1 REPLY 1
Read only

Sandra_Rossi
Active Contributor
0 Likes
684

CL_ABAP_TEST_DOUBLE is just one way of defining a test double. Frankly, I don't see any need to use this class. Instead I directly define my own test double class with the desired interface, whatever it's local or global.