AssetsResourceSupport extends ComponentSupport { static String toInternalToken(final String continuationToken) { if (continuationToken != null) { return toInternalId(EntityHelper.id(continuationToken)) + EMPTY; } return null; } AssetsResourceSupport(final ContentAuthHelper contentAuthHelper);   }
@Test public void shouldBeReturnInternalToken() { assertThat(toInternalToken(null), nullValue()); assertThat(toInternalToken("123"), notNullValue()); }