private Token<PHPTokenId> getPhpToken(int offset) {
   TokenSequence<PHPTokenId> phpts = ts.embeddedJoined(PHPTokenId.languageInPHP());
   assertNotNull(phpts);
   phpts.move(offset);
   assertTrue(phpts.moveNext());
   return phpts.token();
 }
 private Token<TplTokenId> getTplToken(int offset) {
   TokenSequence<TplTokenId> htmlts = ts.embeddedJoined(TplTokenId.language());
   assertNotNull(htmlts);
   htmlts.move(offset);
   assertTrue(htmlts.moveNext());
   return htmlts.token();
 }
 private void assertNullEmbeddingForLanguage(Language language) {
   TokenSequence htmlts = ts.embeddedJoined(language);
   assertNull(htmlts);
 }