GetVacationResponse implements Method.Response { public static Builder builder() { return new Builder(); } private  GetVacationResponse(String accountId, VacationResponse vacationResponse); static Builder builder(); String getAccountId(); List<VacationResponse> getList(); @Override boolean equals(Object o); @Override int hashCode();  }
@Test(expected = IllegalArgumentException.class) public void getVacationResponseShouldThrowIfNoVacationResponse() { GetVacationResponse.builder() .accountId(IDENTIFIER) .build(); }