class ActionsGenerator {

    public Actions builder() {
        return new Actions();
    }

}

class ActionsGeneratorTest {

    private ActionsGenerator action;
    private String webElement;
    private String altWebElement;

    @Test
    public void generateCodeActionClick() throws Exception {

        assertThat(this.action.builder().click(), is(equalTo("builder.click()")));
    }

}