@Test
public void testDateFormatterSeconds() {

  PartitionSpec spec = new PartitionSpec("test", Collections.emptyList(), Interpreter.SECONDS,
      "YYYY-MM-dd HH:mm:ss", 0);
  assertEquals("2017-01-19 05:05:59", spec.interpret("1484802359"));
}