@Test
public void toBase64FromBytes_ShouldEncodeToBase64String() {

    PowerMockito.when(Base64.encodeToString(TEST_VALUE.getBytes(SSCharset.CHARSET), Base64.NO_WRAP))
            .thenReturn(TEST_VALUE_BASE64);
    Assert.assertEquals(TEST_VALUE_BASE64, encoding.toBase64(TEST_VALUE.getBytes(SSCharset.CHARSET)));
}