clear


Description:

public void clear ()

Clear the set of stored results in the mock backend which have been added using add_forward_result and add_reverse_result.

Additionally, clear the query log so far (see get_query_log ).

This effectively resets the mock backend to its initial state.

Parameters:

this

a MockBackend