brapi-java-client/src/test/java/org/brapi/client/v2/modules/phenotype/ObservationVariablesApiTest.java
@Test
    public void variablesPostTest() throws ApiException {
        List<BrAPIObservationVariable> body = null;

        IllegalArgumentException exception = assertThrows(IllegalArgumentException.class, () -> {
        ApiResponse<BrAPIObservationVariableListResponse> response = api.variablesPost(body);
        });

        // TODO: test validations
    }
/**
     * Add new Observation Variables
     *
     * Add new Observation Variables to the system.
     *
     * @throws ApiException
     *          if the Api call fails
     */
Add new Observation Variables
Add new Observation Variables to the system.

@throws ApiException
if the Api call fails
Add new Observation Variables Add new Observation Variables to the system . @throws ApiException if the Api call fails
@Test
    public void variablesPostTest() throws ApiException {
        List<BrAPIObservationVariable> body = null;
        IllegalArgumentException exception = assertThrows(IllegalArgumentException.class, () -> {
        ApiResponse<BrAPIObservationVariableListResponse> response = api.variablesPost(body);
        });
    }
@ Test public void variablesPostTest ( ) throws ApiException { List < BrAPIObservationVariable > body = null ; IllegalArgumentException exception = assertThrows ( IllegalArgumentException . class , ( ) -> { ApiResponse < BrAPIObservationVariableListResponse > response = api . variablesPost ( body ) ; } ) ; }
Add new Observation Variables
 Add new Observation Variables to the system.
Add new Observation Variables Add new Observation Variables to the system .
// TODO: test validations