@Test(groups = "unit", dataProvider = "verifyCanContinueOnExceptionArgProvider")
public void verifyCanContinueOnException(DocumentClientException dce, Boolean shouldVerify) {

    DocumentClientException capturedFailure = null;
    try {
        StoreReader.verifyCanContinueOnException(dce);
    } catch (DocumentClientException e) {
        capturedFailure = e;
    }
    if (shouldVerify) {
        assertThat(capturedFailure).isNull();
    } else {
        assertThat(capturedFailure).isEqualTo(dce);
    }
}