src/test/java/edu/ucla/library/bucketeer/ImageUploadKakaduIT.java
@Test
    public void testLoadImageHandlerFailsWithMissingParam(final TestContext aContext) {
        Assume.assumeNotNull(System.getProperty(TestConstants.BUCKETEER_VERSION));

        final WebClient webClient = WebClient.create(myVertx);
        final Async asyncTask = aContext.async();

        webClient.get(PORT, Constants.UNSPECIFIED_HOST, "/12345/").expect(SC_BAD_REQUEST).send(handler -> {
            TestUtils.complete(asyncTask);
        });
    }
/**
     * Confirm that LoadImageHander fails if we do not provide an ID.
     *
     * @param aContext A testing context
     */
Confirm that LoadImageHander fails if we do not provide an ID.
@param aContext A testing context
Confirm that LoadImageHander fails if we do not provide an ID . @param aContext A testing context
@Test
    public void testLoadImageHandlerFailsWithMissingParam(final TestContext aContext) {
        Assume.assumeNotNull(System.getProperty(TestConstants.BUCKETEER_VERSION));
        final WebClient webClient = WebClient.create(myVertx);
        final Async asyncTask = aContext.async();
        webClient.get(PORT, Constants.UNSPECIFIED_HOST, "/12345/").expect(SC_BAD_REQUEST).send(handler -> {
            TestUtils.complete(asyncTask);
        });
    }
@ Test public void testLoadImageHandlerFailsWithMissingParam ( final TestContext aContext ) { Assume . assumeNotNull ( System . getProperty ( TestConstants . BUCKETEER_VERSION ) ) ; final WebClient webClient = WebClient . create ( myVertx ) ; final Async asyncTask = aContext . async ( ) ; webClient . get ( PORT , Constants . UNSPECIFIED_HOST , "/12345/" ) . expect ( SC_BAD_REQUEST ) . send ( handler -> { TestUtils . complete ( asyncTask ) ; } ) ; }
Confirm that LoadImageHander fails if we do not provide an ID.
Confirm that LoadImageHander fails if we do not provide an ID .