# TEST
# menu items associated to entities must refer to entities managed by the backend

# EXCEPTION
expected_exception:
    class: RuntimeException
    message_string: 'The "UnknownEntity" entity included in the "menu" option is not managed by EasyAdmin. The menu can only include any of these entities: TestEntity.'

# CONFIGURATION
easy_admin:
    design:
        menu: ['UnknownEntity']
    entities:
        TestEntity: AppTestBundle\Entity\UnitTests\Category
