@Test
public void testNextIdentifierShouldReturnAProperIdWhenThePreviousTimestampIsNull() {

    // GIVEN
    String expected = "20130624145212.0000";
    Calendar cal = Calendar.getInstance();
    cal.set(2013, 5, 24, 14, 52, 12);
    Date currentDate = cal.getTime();
    given(currentDateProvider.getCurrentDate()).willReturn(currentDate);
    Whitebox.setInternalState(underTest, "previousSimpleDate", null);
    // WHEN
    String actual = underTest.nextIdentifier();
    // THEN
    verify(currentDateProvider).getCurrentDate();
    Assert.assertEquals(actual, expected);
}