brapi-java-client/src/test/java/org/brapi/client/v2/modules/phenotype/ObservationsApiTest.java
@Test
	public void searchObservationsPostTest() throws ApiException {
		BrAPIObservationSearchRequest body = null;

		IllegalArgumentException exception = assertThrows(IllegalArgumentException.class, () -> {
			ApiResponse<Pair<Optional<BrAPIObservationListResponse>, Optional<BrAPIAcceptedSearchResponse>>> response = api.searchObservationsPost(body);
		});

		// TODO: test validations
	}
/**
	 * Submit a search request for a set of Observations
	 *
	 * Submit a search request for a set of Observations. Returns an Id which
	 * reference the results of this search
	 *
	 * @throws ApiException if the Api call fails
	 */
Submit a search request for a set of Observations
Submit a search request for a set of Observations. Returns an Id which
reference the results of this search

@throws ApiException if the Api call fails
Submit a search request for a set of Observations Submit a search request for a set of Observations . Returns an Id which reference the results of this search @throws ApiException if the Api call fails
@Test
	public void searchObservationsPostTest() throws ApiException {
		BrAPIObservationSearchRequest body = null;
		IllegalArgumentException exception = assertThrows(IllegalArgumentException.class, () -> {
			ApiResponse<Pair<Optional<BrAPIObservationListResponse>, Optional<BrAPIAcceptedSearchResponse>>> response = api.searchObservationsPost(body);
		});
	}
@ Test public void searchObservationsPostTest ( ) throws ApiException { BrAPIObservationSearchRequest body = null ; IllegalArgumentException exception = assertThrows ( IllegalArgumentException . class , ( ) -> { ApiResponse < Pair < Optional < BrAPIObservationListResponse > , Optional < BrAPIAcceptedSearchResponse > > > response = api . searchObservationsPost ( body ) ; } ) ; }
Submit a search request for a set of Observations
 Submit a search request for a set of Observations.
Submit a search request for a set of Observations Submit a search request for a set of Observations .
// TODO: test validations