@Test
public void testFromIssueDate() {

	environment.setBatchArg(BatchContextParameters.FROM_ISSUE_DATE, "20111101");
	environment.reload();
	DateTime actual = parameters.getFromIssueDate();
	assertThat(actual.getYear(), is(equalTo(2011)));
	assertThat(actual.getMonth(), is(equalTo(11)));
	assertThat(actual.getDay(), is(equalTo(01)));
	assertThat(actual.getHour(), is(equalTo(00)));
	assertThat(actual.getMinute(), is(equalTo(00)));
	assertThat(actual.getSecond(), is(equalTo(00)));
}