code: @Test public void should_bind_for_remove_element_from_list() throws Exception {
    PropertyMeta idMeta=completeBean(Void.class,Long.class).field("id").transcoder(transcoder).type(ID).invoker(invoker).build();
    EntityMeta meta=new EntityMeta();
    meta.setClassName("CompleteBean");
    meta.setIdMeta(idMeta);
    Long primaryKey=RandomUtils.nextLong();
    when(context.getEntityMeta()).thenReturn(meta);
    when(context.getIdMeta()).thenReturn(idMeta);
    when(context.getPrimaryKey()).thenReturn(primaryKey);
    when(overrider.getWriteLevel(context)).thenReturn(ALL);
    when(invoker.getPrimaryKey(entity,idMeta)).thenReturn(primaryKey);
    when(transcoder.encode(idMeta,primaryKey)).thenReturn(primaryKey);
    final List<Object> values=Arrays.<Object>asList("whatever");
    when(changeSet.getChangeType()).thenReturn(REMOVE_FROM_LIST);
    when(changeSet.getEncodedListChanges()).thenReturn(values);
    when(ps.bind(0,values,primaryKey)).thenReturn(bs);
    final BoundStatementWrapper actual=binder.bindForCollectionAndMapUpdate(context,ps,changeSet);
    verify(bs).setConsistencyLevel(ConsistencyLevel.ALL);
    assertThat(asList(actual.getValues())).containsExactly(0,values,primaryKey);
  }
  