@Category(GenotypePhenotypeTests.class)
public class GenotypePhenotypeSearchIT {
private static Client client = new Client(URLMAPPING.getInstance());
@Test
public void ensureCatchNoParametersSearch() throws AvroRemoteException {
<BUG>SearchGenotypePhenotypeRequest request = SearchGenotypePhenotypeRequest.newBuilder().build();
final GAWrapperException didThrow =</BUG>
catchGAWrapperException(() -> client.genotypePhenotype.searchGenotypePhenotype(request) );
assertThat(didThrow.getHttpStatusCode()).isEqualTo(HttpURLConnection.HTTP_BAD_REQUEST);
}

@Category(GenotypePhenotypeTests.class)
public class GenotypePhenotypeSearchIT {
private static Client client = new Client(URLMAPPING.getInstance());
@Test
public void ensureCatchNoParametersSearch() throws AvroRemoteException {
SearchGenotypePhenotypeRequest request = SearchGenotypePhenotypeRequest
.newBuilder()
.setPhenotypeAssociationSetId(TestData.PHENOTYPE_ASSOCIATIONSET_ID)
.build();
final GAWrapperException didThrow =
catchGAWrapperException(() -> client.genotypePhenotype.searchGenotypePhenotype(request) );
assertThat(didThrow.getHttpStatusCode()).isEqualTo(HttpURLConnection.HTTP_BAD_REQUEST);
}
