### Question:
JpaColumnStorage implements ColumnStorage { @Override public Column getColumn(String columnName) { return (Column) persistenceManager.pick("select c from Column c where c.name = ?1", columnName); } JpaColumnStorage(PersistenceManager persistenceManager); @Override Column getColumn(String columnName); @SuppressWarnings("unchecked") @Override List<Item> getAllColumns(); @Override List<Item> getAllColumnsWithTransaction(); @SuppressWarnings("unchecked") @Override List<String> getAllColumnNames(); @Override List<String> getAllColumnNamesWithTransaction(); void store(Column column); @Override void storeWithTransaction(Column column); @Override void deleteAll();  }### Answer:
@Test public void testGetColumn() { final String sql = "select c from Column c where c.name = ?1"; final String columnName = "waite_snake"; final Item column = new ColumnBuilder().name(columnName).build(); when(persistenceManager.pick(sql, columnName)).thenReturn(column); final Column toolStorageColumn = columnStorage.getColumn(columnName); assertNotNull(toolStorageColumn); assertEquals(columnName, toolStorageColumn.getName()); verify(persistenceManager, times(1)).pick(sql, columnName); verifyNoMoreInteractions(persistenceManager); }