@Test
public void testCreateFileFetcherWithInvalidConfig() {

    Config<?> invalidConfig = createAppConfig();
    Throwable exception = assertThrows(
            IllegalArgumentException.class,
            () -> provider.createAccessor(invalidConfig)
    );
    assertEquals("Invalid S3Config", exception.getMessage());
}