def METHOD_NAME(self, mock_RpmDataBase):
    rpmdb = mock.Mock()
    rpmdb.has_rpm.return_value = True
    mock_RpmDataBase.return_value = rpmdb
    self.manager.post_process_install_requests_bootstrap()
    rpmdb.rebuild_database.assert_called_once_with()
    rpmdb.set_database_to_image_path.assert_called_once_with()