@Test
public void reConfiguredSpecialPorts() throws Exception {

    activity.configure(configBean);
    RAWvernaActivityConfigurationBean specialBean = new RAWvernaActivityConfigurationBean();
    specialBean.setExampleString("specialCase");
    specialBean.setExampleUri(URI.create("http://localhost:8080/myEndPoint"));
    activity.configure(specialBean);
    // Should now have added the optional ports
    assertEquals("Unexpected inputs", 2, activity.getInputPorts().size());
    assertEquals("Unexpected outputs", 3, activity.getOutputPorts().size());
}