@Test public void shouldNotOverwriteCreatedAtIfGiven() throws JSONException { Child child = new Child( String.format( "{ 'created_at' : '%s' }", new RapidFtrDateTime(10, 2, 2012).defaultFormat())); assertThat(child.getCreatedAt(), is("2012-02-10 00:00:00")); }