@Test
public void should_encode_index_condition_value() throws Exception {
//Given
PropertyMeta nameMeta = mock(PropertyMeta.class, RETURNS_DEEP_STUBS);
IndexCondition indexCondition = spy(new IndexCondition("name", "DuyHai"));
when(meta.getAllMetasExceptCounters()).thenReturn(asList(nameMeta));
when(nameMeta.getCQL3ColumnName()).thenReturn("name");
when(nameMeta.getPropertyName()).thenReturn("name");
when(nameMeta.forTranscoding().encodeToCassandra("DuyHai")).thenReturn("DuyHai");