@Test public void readChangesets_is_not_cached() { writer.writeComponentChangesets(CHANGESETS); assertThat(underTest.readChangesets(COMPONENT_REF)) .isNotSameAs(underTest.readChangesets(COMPONENT_REF)); }
@Test public void verify_readChangesets_returns_changesets() { writer.writeComponentChangesets(CHANGESETS); BatchReport.Changesets res = underTest.readChangesets(COMPONENT_REF); assertThat(res).isEqualTo(CHANGESETS); }
@Test public void readChangesets_returns_null_if_no_changeset() { assertThat(underTest.readChangesets(COMPONENT_REF)).isNull(); }