@Test
void setWrongTargetPortfolioSize() {

    final DefaultPortfolio p = DefaultPortfolio.EMPTY;
    final DefaultValues sut = new DefaultValues(p);
    assertThatThrownBy(() -> sut.setTargetPortfolioSize(0)).isInstanceOf(IllegalArgumentException.class);
}