replaceAdjacentText
Method test sample