async def METHOD_NAME(
    session_manager, mock_check_session_create
):
    # Patch the type to class dict
    with patch("robot_server.service.session.manager.SessionTypeToClass", new={}):
        with pytest.raises(SessionCreationException):
            await session_manager.add(SessionType.calibration_check, SessionMetaData())
        mock_check_session_create.assert_not_called()