@Test void removeShouldReturnFalseWhenKeyNotDeleted() { boolean isDeleted = testee.remove(URL2, KEY_2).block(); assertThat(isDeleted).isFalse(); }
public Mono<Boolean> remove(MailRepositoryUrl url, MailKey key) { return executor.executeReturnApplied(deleteKey.bind() .setString(REPOSITORY_NAME, url.asString()) .setString(MAIL_KEY, key.asString())); }
CassandraMailRepositoryKeysDAO { public Mono<Boolean> remove(MailRepositoryUrl url, MailKey key) { return executor.executeReturnApplied(deleteKey.bind() .setString(REPOSITORY_NAME, url.asString()) .setString(MAIL_KEY, key.asString())); } }
CassandraMailRepositoryKeysDAO { public Mono<Boolean> remove(MailRepositoryUrl url, MailKey key) { return executor.executeReturnApplied(deleteKey.bind() .setString(REPOSITORY_NAME, url.asString()) .setString(MAIL_KEY, key.asString())); } @Inject  CassandraMailRepositoryKeysDAO(Session session, CassandraUtils cassandraUtils); }
CassandraMailRepositoryKeysDAO { public Mono<Boolean> remove(MailRepositoryUrl url, MailKey key) { return executor.executeReturnApplied(deleteKey.bind() .setString(REPOSITORY_NAME, url.asString()) .setString(MAIL_KEY, key.asString())); } @Inject  CassandraMailRepositoryKeysDAO(Session session, CassandraUtils cassandraUtils); Mono<Boolean> store(MailRepositoryUrl url, MailKey key); Flux<MailKey> list(MailRepositoryUrl url); Mono<Boolean> remove(MailRepositoryUrl url, MailKey key); }
CassandraMailRepositoryKeysDAO { public Mono<Boolean> remove(MailRepositoryUrl url, MailKey key) { return executor.executeReturnApplied(deleteKey.bind() .setString(REPOSITORY_NAME, url.asString()) .setString(MAIL_KEY, key.asString())); } @Inject  CassandraMailRepositoryKeysDAO(Session session, CassandraUtils cassandraUtils); Mono<Boolean> store(MailRepositoryUrl url, MailKey key); Flux<MailKey> list(MailRepositoryUrl url); Mono<Boolean> remove(MailRepositoryUrl url, MailKey key);  }