catchGAWrapperException(() -> client.genotypePhenotype.searchGenotypePhenotype(request) );
assertThat(didThrow.getHttpStatusCode()).isEqualTo(HttpURLConnection.HTTP_BAD_REQUEST);
}
@Test
public void simpleFeatureSearch() throws AvroRemoteException {
<BUG>SearchGenotypePhenotypeRequest request = SearchGenotypePhenotypeRequest.newBuilder().build();
request.setFeature(TestData.FEATURE_NAME);
request.setPhenotypeAssociationSetId(TestData.PHENOTYPE_ASSOCIATIONSET_ID);</BUG>
SearchGenotypePhenotypeResponse response = client.genotypePhenotype.searchGenotypePhenotype(request);
assertThat(response.getAssociations()).isNotNull() ;

catchGAWrapperException(() -> client.genotypePhenotype.searchGenotypePhenotype(request) );
assertThat(didThrow.getHttpStatusCode()).isEqualTo(HttpURLConnection.HTTP_BAD_REQUEST);
}
@Test
public void simpleFeatureSearch() throws AvroRemoteException {
SearchGenotypePhenotypeRequest request = SearchGenotypePhenotypeRequest
.newBuilder()
.setPhenotypeAssociationSetId(TestData.PHENOTYPE_ASSOCIATIONSET_ID)
.build();
request.setFeature(TestData.FEATURE_NAME);
SearchGenotypePhenotypeResponse response = client.genotypePhenotype.searchGenotypePhenotype(request);
assertThat(response.getAssociations()).isNotNull() ;
