mock = new MockCassandraClient();
}
@Test
public void test() {
ColumnFamily cf = new ColumnFamily("ks", "cf", new MockCassandraClient.SimpleProvider(mock.client),
Utf8Codec.get(), Utf8Codec.get(), Utf8Codec.get(), NullStatsReceiver$.MODULE$,
ReadConsistency.Quorum(), WriteConsistency.Quorum());
cf.getColumn("key", "name");
ColumnParent cp = new ColumnParent("cf");
ArgumentCaptor<SlicePredicate> pred = ArgumentCaptor.forClass(SlicePredicate.class);
verify(mock.client).get_slice(eq(codec.encode("key")), eq(cp),
pred.capture(), eq(ConsistencyLevel.QUORUM));
for (ByteBuffer name : pred.getValue().getColumn_names()) {