anchor.diff:    private section.
       data o_context type ref to lcl_context.
   
  -endclass.  " lcl_main_logic
  +endclass.
   
   class lcl_main_logic implementation.
     method constructor.
       o_context = lcl_context=>get_instance( ). " Get context
  -  endmethod.   "constructor
  +  endmethod.
   
     method get_price. " Get price of the connection in the context airline
       data ls_flight type sflight.
  
positive.code:   private section.
      class-data go_instance type ref to lcl_context.     " Some settings for the production code
  
  endclass.  " lcl_context
  
  class lcl_context implementation.
    method get_instance. " Get sinleton instance
  
negative.code: 
      r_price = ls_flight-price.
  
    endmethod.
  endclass.
  
  **********************************************************************
  * TEST CLASS
  