Search in sources :

Example 1 with AzureStorageSourceOrSink

use of org.talend.components.azurestorage.blob.runtime.AzureStorageSourceOrSink in project components by Talend.

the class AzureStorageSourceOrSinkTestIT method testInvalidConnection.

@Test(expected = Exception.class)
public void testInvalidConnection() throws Throwable {
    // fail("Not yet implemented");
    AzureStorageSourceOrSink sos = new AzureStorageSourceOrSink();
    TAzureStorageConnectionProperties properties = new TAzureStorageConnectionProperties("tests");
    properties.setupProperties();
    sos.initialize(runtime, properties);
}
Also used : AzureStorageSourceOrSink(org.talend.components.azurestorage.blob.runtime.AzureStorageSourceOrSink) TAzureStorageConnectionProperties(org.talend.components.azurestorage.tazurestorageconnection.TAzureStorageConnectionProperties) Test(org.junit.Test)

Aggregations

Test (org.junit.Test)1 AzureStorageSourceOrSink (org.talend.components.azurestorage.blob.runtime.AzureStorageSourceOrSink)1 TAzureStorageConnectionProperties (org.talend.components.azurestorage.tazurestorageconnection.TAzureStorageConnectionProperties)1