@Test
public void testToBase64() {

    LOG.info("testToBase64");
    final String deviceId = "O12022A00028:none";
    final String expected = "Basic TzEyMDIyQTAwMDI4Om5vbmU=";
    Assert.assertEquals(expected, BasicAuthenticationCredentials.encodeBase64(deviceId));
}