Search in sources :

Example 6 with TMarketoConnectionProperties

use of org.talend.components.marketo.tmarketoconnection.TMarketoConnectionProperties in project components by Talend.

the class MarketoBaseRESTClientTest method setUp.

@Before
public void setUp() throws Exception {
    TMarketoConnectionProperties conn = new TMarketoConnectionProperties("test");
    conn.apiMode.setValue(APIMode.REST);
    conn.endpoint.setValue("https://fake.io");
    conn.clientAccessId.setValue("client");
    conn.secretKey.setValue("sekret");
    client = new MarketoRESTClient(conn);
}
Also used : TMarketoConnectionProperties(org.talend.components.marketo.tmarketoconnection.TMarketoConnectionProperties) Before(org.junit.Before)

Aggregations

TMarketoConnectionProperties (org.talend.components.marketo.tmarketoconnection.TMarketoConnectionProperties)6 Before (org.junit.Before)2 Test (org.junit.Test)2 ValidationResultMutable (org.talend.daikon.properties.ValidationResultMutable)1