@Test
public void testDeleteAfterPoll() {
final ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext( "VoldemortInboundAdapterTest-context.xml", getClass() );
final StoreClient storeClient = context.getBean( "storeClient", StoreClient.class );
final PollableChannel inboundChannel = context.getBean( "voldemortInboundChannel", PollableChannel.class );
// given
final Person robert = new Person( "robert", "Robert", "Antoniak" );
storeClient.put( robert.getId(), robert );
// when
final Message<Person> received = (Message<Person>) inboundChannel.receive();
// then
Assert.assertEquals( robert, received.getPayload() );
final Versioned found = storeClient.get( robert.getId() );
Assert.assertNull( found );