def METHOD_NAME() -> None:
    exc = MissingDependencyException("some_package", "install_via_this")
    expected = (
        "Package 'some_package' is not installed but required. You can install it by running 'pip install "
        "litestar[install_via_this]' to install litestar with the required extra or 'pip install install_via_this' to "
        "install the package separately"
    )
    assert str(exc) == expected