brapi-java-client/src/test/java/org/brapi/client/v2/modules/genotype/SamplesApiTest.java
@Test
    public void samplesPostTest() throws ApiException {
        List<BrAPISample> body = null;

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

        // TODO: test validations
    }
/**
     * Add new Samples
     *
     * Call to register the event of a sample being taken. Sample ID is assigned as a result of the operation and returned in response.
     *
     * @throws ApiException
     *          if the Api call fails
     */
Add new Samples
Call to register the event of a sample being taken. Sample ID is assigned as a result of the operation and returned in response.

@throws ApiException
if the Api call fails
Add new Samples Call to register the event of a sample being taken . Sample ID is assigned as a result of the operation and returned in response . @throws ApiException if the Api call fails
@Test
    public void samplesPostTest() throws ApiException {
        List<BrAPISample> body = null;
		IllegalArgumentException exception = assertThrows(IllegalArgumentException.class, () -> {
        ApiResponse<BrAPISampleListResponse> response = api.samplesPost(body);
		});
    }
@ Test public void samplesPostTest ( ) throws ApiException { List < BrAPISample > body = null ; IllegalArgumentException exception = assertThrows ( IllegalArgumentException . class , ( ) -> { ApiResponse < BrAPISampleListResponse > response = api . samplesPost ( body ) ; } ) ; }
Add new Samples
 Call to register the event of a sample being taken.
Add new Samples Call to register the event of a sample being taken .
// TODO: test validations