@Test
public void permissionCheckPasses() {

    SurveyInstanceStateMachine state = SurveyInstanceStateMachineFactory.simple("NOT_STARTED");
    assertEquals(IN_PROGRESS, state.process(SAVING, participant, survey));
    assertEquals(COMPLETED, state.process(SUBMITTING, participant, survey));
}