@Test(expected = ActivityConfigurationException.class)
public void invalidConfiguration() throws ActivityConfigurationException {

    RAWvernaActivityConfigurationBean invalidBean = new RAWvernaActivityConfigurationBean();
    invalidBean.setExampleString("invalidExample");
    // Should throw ActivityConfigurationException
    activity.configure(invalidBean);
}