@Test
public void generateCodeDragAndDropToElement() throws Exception {

    assertThat(this.action.builder().dragAndDrop(altWebElement, webElement), is(equalTo("builder.dragAndDrop(driver.findElement(By.xpath(\"//div[@id='foo']\")), driver.findElement(By.xpath(\"//div[@id='bar']\")))")));
}