@Test
public void parseDate() {

  // Date assertions don't assume UTC
  TimeZone.setDefault(TimeZone.getTimeZone("UTC"));
  long date = ZipkinDependenciesJob.parseDay("2013-05-15");
  assertThat(new Date(date))
      .hasYear(2013)
      .hasMonth(5)
      .hasDayOfMonth(15)
      .hasHourOfDay(0)
      .hasMinute(0)
      .hasSecond(0)
      .hasMillisecond(0);
}