{
IPasswordsRepository repository = initModernDatabase();
repository.record(SAMPLE_CONTEXT_A, SAMPLE_AUTH_INFO);
repository.record(SAMPLE_CONTEXT_B, SAMPLE_AUTH_INFO);
repository.forgetAll();
PasswordAuthentication auth = repository.getAuthInformation(SAMPLE_CONTEXT_A);
assertNull("Database should forget the context password.", auth);
auth = repository.getAuthInformation(SAMPLE_CONTEXT_B);
assertNull("Database should forget the context password.", auth);