src/test/java/edu/ucla/library/iiif/auth/services/AccessCookieServiceTest.java
private <T> void completeIfExpectedElseFail(final T aResult, final T aExpected, final VertxTestContext aContext) {
        if (aResult.equals(aExpected)) {
            aContext.completeNow();
        } else {
            aContext.failNow(LOGGER.getMessage(MessageCodes.AUTH_007, aResult, aExpected));
        }
    }
/**
     * Completes the context if the actual result and the expected result are equal, otherwise fails the context.
     *
     * @param <T> The type of result
     * @param aResult The actual result
     * @param aExpected The expected result
     * @param aContext A test context
     */
Completes the context if the actual result and the expected result are equal, otherwise fails the context.
@param  The type of result
@param aResult The actual result
@param aExpected The expected result
@param aContext A test context
Completes the context if the actual result and the expected result are equal otherwise fails the context . @param The type of result @param aResult The actual result @param aExpected The expected result @param aContext A test context
private <T> void completeIfExpectedElseFail(final T aResult, final T aExpected, final VertxTestContext aContext) {
        if (aResult.equals(aExpected)) {
            aContext.completeNow();
        } else {
            aContext.failNow(LOGGER.getMessage(MessageCodes.AUTH_007, aResult, aExpected));
        }
    }
private < T > void completeIfExpectedElseFail ( final T aResult , final T aExpected , final VertxTestContext aContext ) { if ( aResult . equals ( aExpected ) ) { aContext . completeNow ( ) ; } else { aContext . failNow ( LOGGER . getMessage ( MessageCodes . AUTH_007 , aResult , aExpected ) ) ; } }
Completes the context if the actual result and the expected result are equal, otherwise fails the context.
Completes the context if the actual result and the expected result are equal otherwise fails the context .