PortfolioOverviewImpl implements PortfolioOverview { @Override public ZonedDateTime getTimestamp() { return timestamp; } PortfolioOverviewImpl(final RemotePortfolioImpl impl);   PortfolioOverviewImpl(final Map<Rating, Money> investedPerRating, final Ratio profitability); @Override Money getInvested(); @Override Money getInvested(final Rating r); @Override Ratio getAnnualProfitability(); @Override ZonedDateTime getTimestamp(); @Override String toString(); @Override boolean equals(final Object o); @Override int hashCode();  }
@Test void timestamp() { final PortfolioOverview po = new PortfolioOverviewImpl(Collections.emptyMap(), Ratio.ZERO); assertThat(po.getTimestamp()).isBeforeOrEqualTo(ZonedDateTime.now()); }