TestingInjectionUse dependency inversion to inject test doublesConsider ABAP test doubleExploit the test toolsUse test seams as temporary workaroundUse LOCAL FRIENDS to access the dependency-inverting constructorDon't misuse LOCAL FRIENDSDon't add test-only features to productionDon't sub-class to mock methodsDon't mock stuff needlesslyDon't build test frameworksFrom SAP/styleguides under CC BY 3.0 — more detailsLast updated on 2026-07-26