### Question:
GenesisConfigFile { public long getTimestamp() { return parseLong("timestamp", JsonUtil.getValueAsString(configRoot, "timestamp", "0x0")); } private  GenesisConfigFile(final ObjectNode config); static GenesisConfigFile mainnet(); static ObjectNode mainnetJsonNode(); static GenesisConfigFile development(); static GenesisConfigFile fromConfig(final String jsonString); static GenesisConfigFile fromConfig(final ObjectNode config); GenesisConfigOptions getConfigOptions(); GenesisConfigOptions getConfigOptions(final Map<String, String> overrides); Stream<GenesisAllocation> streamAllocations(); String getParentHash(); String getDifficulty(); String getExtraData(); long getGasLimit(); String getMixHash(); String getNonce(); Optional<String> getCoinbase(); long getTimestamp(); List<Long> getForks(); static final GenesisConfigFile DEFAULT; }### Answer:
@Test public void shouldGetTimestamp() { assertThat(configWithProperty("timestamp", "0x10").getTimestamp()).isEqualTo(16L); }
@Test public void shouldDefaultTimestampToZero() { assertThat(EMPTY_CONFIG.getTimestamp()).isZero(); }