ABAP Keyword Documentation →  ABAP − Short Reference → 

METHODS - FOR TESTING - Short Reference

Reference

Syntax

METHODS meth FOR TESTING.

Effect

Defines a test method in a test class.