def METHOD_NAME():
    base_app = BaseFakeModelApplication()
    subtype_of_base_app = SubClassOfBaseFakeModelApplication()
    registry = TemporaryRegistry()
    registry.register(base_app)
    registry.register(subtype_of_base_app)
    assert registry.get_by_model(BaseFakeModel()) == base_app
    assert registry.get_by_model(SubClassOfBaseFakeModel()) == subtype_of_base_app