@Test
public void testDataGeneration() throws Exception {

	
	Reindex reindex = new Reindex.Builder(source,dest)
	                             .conflicts("proceed")
	                             .build();
	String generatedData = reindex.getData(new GsonBuilder().create());
	
	String expectedData = "{\"conflicts\":\"proceed\",\"dest\":{\"index\":\"destIndex\"},\"source\":{\"index\":\"sourceIndex\"}}";
	JSONAssert.assertEquals(expectedData, generatedData,false);
}