assertThat(desktopPanel.getSubmitButton(), is(not(enabled())));
}
@Test
public void disablesInteractionsDuringSubmit() throws Exception {
Submit submit = makeSubmitMockWithRequest();
desktopPanel.beforeSubmit(submit, mock(SubmitContext.class));
assertThat(desktopPanel.getSubmitButton(), is(not(enabled())));
assertThat(containerWalker.findButtonWithIcon("create_empty_request.gif"), is(not(enabled())));
assertThat(containerWalker.findButtonWithIcon("clone_request.gif"), is(not(enabled())));