@Test
  public void test_initialX_responseObjectContainingNoPreDefMoneyflow() throws Exception {
    final ShowPreDefMoneyflowListResponse expected = new ShowPreDefMoneyflowListResponse();
    expected.setInitials(new HashSet<Character>(Arrays.asList('P', 'Q')));

    final ShowPreDefMoneyflowListResponse actual =
        super.callUsecaseWithoutContent(
            "/X", this.method, false, ShowPreDefMoneyflowListResponse.class);

    Assert.assertEquals(expected, actual);
  }
  private ShowPreDefMoneyflowListResponse getCompleteResponse() {
    final ShowPreDefMoneyflowListResponse expected = new ShowPreDefMoneyflowListResponse();
    expected.setInitials(new HashSet<Character>(Arrays.asList('P', 'Q')));

    final List<PreDefMoneyflowTransport> preDefMoneyflowTransports = new ArrayList<>();
    preDefMoneyflowTransports.add(
        new PreDefMoneyflowTransportBuilder().forPreDefMoneyflow1().build());
    preDefMoneyflowTransports.add(
        new PreDefMoneyflowTransportBuilder().forPreDefMoneyflow3().build());
    expected.setPreDefMoneyflowTransports(preDefMoneyflowTransports);

    return expected;
  }
  @Test
  public void test_MaxRowSettingReached_OnlyInitials() throws Exception {
    final ShowPreDefMoneyflowListResponse expected = new ShowPreDefMoneyflowListResponse();
    expected.setInitials(new HashSet<Character>(Arrays.asList('P', 'Q')));

    final ClientMaxRowsSetting setting = new ClientMaxRowsSetting(1);
    this.settingService.setClientMaxRowsSetting(
        new AccessID(UserTransportBuilder.USER1_ID), setting);

    final ShowPreDefMoneyflowListResponse actual =
        super.callUsecaseWithoutContent(
            "/", this.method, false, ShowPreDefMoneyflowListResponse.class);

    Assert.assertEquals(expected, actual);
  }
  @Test
  public void test_initialP_responseObjectcontainingP() throws Exception {
    final ShowPreDefMoneyflowListResponse expected = new ShowPreDefMoneyflowListResponse();
    expected.setInitials(new HashSet<Character>(Arrays.asList('P', 'Q')));

    final List<PreDefMoneyflowTransport> preDefMoneyflowTransports = new ArrayList<>();
    preDefMoneyflowTransports.add(
        new PreDefMoneyflowTransportBuilder().forPreDefMoneyflow1().build());
    expected.setPreDefMoneyflowTransports(preDefMoneyflowTransports);

    final ShowPreDefMoneyflowListResponse actual =
        super.callUsecaseWithoutContent(
            "/P", this.method, false, ShowPreDefMoneyflowListResponse.class);

    Assert.assertEquals(expected, actual);
  }