Sha256: 37996c52848d60ae304277e4a910269484837588780e1ddf2df462db09039ea2

Contents?: true

Size: 680 Bytes

Versions: 11

Compression:

Stored size: 680 Bytes

Contents

package org.embulk.input.zendesk.utils;

import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import org.embulk.EmbulkTestRuntime;
import org.junit.Rule;
import org.junit.Test;
import static org.junit.Assert.assertEquals;

public class TestZendeskUtil
{
    @Rule
    @SuppressFBWarnings("URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD")
    public EmbulkTestRuntime runtime = new EmbulkTestRuntime();

    @Test
    public void testConvertBase64()
    {
        String expectedResult = "YWhrc2RqZmhramFzZGhma2phaGRma2phaGRramZoYWtqZGY=";
        String encode = ZendeskUtils.convertBase64("ahksdjfhkjasdhfkjahdfkjahdkjfhakjdf");
        assertEquals(expectedResult, encode);
    }
}

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
embulk-input-zendesk-all-0.4.5 src/test/java/org/embulk/input/zendesk/utils/TestZendeskUtil.java
embulk-input-zendesk-all-0.4.4 src/test/java/org/embulk/input/zendesk/utils/TestZendeskUtil.java
embulk-input-zendesk-all-0.4.3 src/test/java/org/embulk/input/zendesk/utils/TestZendeskUtil.java
embulk-input-zendesk-all-0.4.1 src/test/java/org/embulk/input/zendesk/utils/TestZendeskUtil.java
embulk-input-zendesk-all-0.4.0 src/test/java/org/embulk/input/zendesk/utils/TestZendeskUtil.java
embulk-input-zendesk-all-0.3.9 src/test/java/org/embulk/input/zendesk/utils/TestZendeskUtil.java
embulk-input-zendesk-0.3.7 src/test/java/org/embulk/input/zendesk/utils/TestZendeskUtil.java
embulk-input-zendesk-all-0.3.8 src/test/java/org/embulk/input/zendesk/utils/TestZendeskUtil.java
embulk-input-zendesk-all-0.3.7 src/test/java/org/embulk/input/zendesk/utils/TestZendeskUtil.java
embulk-input-zendesk-0.3.6 src/test/java/org/embulk/input/zendesk/utils/TestZendeskUtil.java
embulk-input-zendesk-0.3.5 src/test/java/org/embulk/input/zendesk/utils/TestZendeskUtil.java