B
benBuckley
Guest
You can have one method/class that contains all test logic and takes the interface as input, and then test cases that call that method, passing in the different implementations. If both pass, then both work. METHOD PRIVATE VOID InterfaceTest (INPUT poProperty AS IPropertyCollection): BLAH BLAH. END METHOD. METHOD PUBLIC VOID TempTableTest (): THIS-OBJECT:InterfaceTest(NEW TempTablePropertyCollection()). END METHOD. METHOD PUBLIC VOID JsonTest(): THIS-OBJECT:InterfaceTest(NEW JsonPropertyCollection()). END METHOD.
Continue reading...
Continue reading...