def METHOD_NAME(self):
    mock_generic_updater = mock.Mock()
    mock_generic_updater.apply_patch = mock.Mock(side_effect=EmptyTableError)
    with mock.patch('validated_config_db_connector.GenericUpdater', return_value=mock_generic_updater):
        with mock.patch('validated_config_db_connector.ValidatedConfigDBConnector.validated_delete_table', return_value=True):
            try:
                validated_config_db_connector.ValidatedConfigDBConnector.apply_patch(mock.Mock(), SAMPLE_PATCH, SAMPLE_TABLE)
            except Exception as ex:
                assert False, "Exception {} thrown unexpectedly".format(ex)