@Test public void createsMissingStateByDefault() { SyncState state = new SyncState(); assertThat(state.isExisting(), is(false)); assertThat(state.getMtime(), is(nullValue())); assertThat(state.getSize(), is(nullValue())); }
@Test public void providesValues() { SyncState state = new SyncState(true, 10L, 20L); assertThat(state.isExisting(), is(true)); assertThat(state.getMtime(), is(10L)); assertThat(state.getSize(), is(20L)); }