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