@Test void shouldTransformATableCell() { assertThat(singleCellType.transform(singletonList(singletonList("12"))), equalTo(singletonList(singletonList(12)))); }
public Object transform(List<List<String>> raw) { try { return transformer.transform(raw); } catch (Throwable throwable) { throw new CucumberDataTableException( String.format("'%s' could not transform%n%s", toCanonical(), DataTable.create(raw)), throwable); } }
DataTableType { public Object transform(List<List<String>> raw) { try { return transformer.transform(raw); } catch (Throwable throwable) { throw new CucumberDataTableException( String.format("'%s' could not transform%n%s", toCanonical(), DataTable.create(raw)), throwable); } } }
DataTableType { public Object transform(List<List<String>> raw) { try { return transformer.transform(raw); } catch (Throwable throwable) { throw new CucumberDataTableException( String.format("'%s' could not transform%n%s", toCanonical(), DataTable.create(raw)), throwable); } } private  DataTableType(Type type, RawTableTransformer<?> transformer); private  DataTableType(Type type, RawTableTransformer<?> transformer, boolean replaceable); <T> DataTableType(Type type, TableTransformer<T> transformer); <T> DataTableType(Type type, TableRowTransformer<T> transformer); <T> DataTableType(Type type, TableEntryTransformer<T> transformer);  <T> DataTableType(Type type, TableCellTransformer<T> transformer, boolean replaceable); <T> DataTableType(Type type, TableCellTransformer<T> transformer); }
DataTableType { public Object transform(List<List<String>> raw) { try { return transformer.transform(raw); } catch (Throwable throwable) { throw new CucumberDataTableException( String.format("'%s' could not transform%n%s", toCanonical(), DataTable.create(raw)), throwable); } } private  DataTableType(Type type, RawTableTransformer<?> transformer); private  DataTableType(Type type, RawTableTransformer<?> transformer, boolean replaceable); <T> DataTableType(Type type, TableTransformer<T> transformer); <T> DataTableType(Type type, TableRowTransformer<T> transformer); <T> DataTableType(Type type, TableEntryTransformer<T> transformer);  <T> DataTableType(Type type, TableCellTransformer<T> transformer, boolean replaceable); <T> DataTableType(Type type, TableCellTransformer<T> transformer); Object transform(List<List<String>> raw); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode(); }
DataTableType { public Object transform(List<List<String>> raw) { try { return transformer.transform(raw); } catch (Throwable throwable) { throw new CucumberDataTableException( String.format("'%s' could not transform%n%s", toCanonical(), DataTable.create(raw)), throwable); } } private  DataTableType(Type type, RawTableTransformer<?> transformer); private  DataTableType(Type type, RawTableTransformer<?> transformer, boolean replaceable); <T> DataTableType(Type type, TableTransformer<T> transformer); <T> DataTableType(Type type, TableRowTransformer<T> transformer); <T> DataTableType(Type type, TableEntryTransformer<T> transformer);  <T> DataTableType(Type type, TableCellTransformer<T> transformer, boolean replaceable); <T> DataTableType(Type type, TableCellTransformer<T> transformer); Object transform(List<List<String>> raw); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode();  }