@Test(expected = IllegalArgumentException.class)
public void testConvertStringToTimestampInvalidFormat() {

    String string = "|December 30, 1987|fsfsaf|";
    Assert.assertTrue(Convert.stringToJava(string) instanceof Timestamp);
}