@Test
public void bindToRow() {
LazyColumn<A, Void, B> column = new LazyColumn<A, Void, B>(
Model.of("test"), from(A.class).getB());
A a1 = new A();
a1.b = new B();
IModel<A> rowModel1 = Model.of(a1);
assertEquals(a1.b, column.getDataModel(rowModel1).getObject());
A a2 = new A();
a2.b = new B();
IModel<A> rowModel2 = Model.of(a2);
assertEquals(a2.b, column.getDataModel(rowModel2).getObject());
}