public void testPreview() throws Exception {

    List amendments = flCheck.preview();
    assertEquals(2, amendments.size());

    verifyMocks();
  }
  private void noProblems() throws Exception {
    resetMocks();
    ctrlFieldManager.expectAndReturn(mockFieldManager.isOrderableField("customfield_1"), true);

    replayMocks();

    List amendments = flCheck.preview();
    assertEquals(0, amendments.size());

    verifyMocks();
  }