EncryptTable { public String getCipherColumn(final String logicColumn) { return columns.get(logicColumn).getCipherColumn(); } EncryptTable(final EncryptTableRuleConfiguration config); Optional<String> findEncryptorName(final String logicColumn); Collection<String> getLogicColumns(); String getLogicColumn(final String cipherColumn); boolean isCipherColumn(final String columnName); String getCipherColumn(final String logicColumn); Collection<String> getAssistedQueryColumns(); Optional<String> findAssistedQueryColumn(final String logicColumn); Collection<String> getPlainColumns(); Optional<String> findPlainColumn(final String logicColumn); Map<String, String> getLogicAndCipherColumns();  }
@Test public void assertGetCipherColumn() { assertThat(encryptTable.getCipherColumn("LogicColumn"), is("cipherColumn")); }