def METHOD_NAME(self, test_case):
    err_msg, expected_err = test_case
    err_status = 400
    expected_text = json.dumps({"status": err_status, "message": err_msg})
    mock_text = Mock(spec=bytes)
    mock_text.decode.return_value = expected_text
    self.handle_err_exec_assert(expected_err, err_status, err_msg, mock_text)