services:
  testmodule.example:
    class: Drupal\testmodule\ExampleService
