### Question:
WXTextDomObject extends WXDomObject { @Override public void layoutAfter() { if (hasBeenMeasured) { if (layout != null && !FloatUtil.floatsEqual(WXDomUtils.getContentWidth(this), previousWidth)) { recalculateLayout(); } } else { updateStyleAndText(); recalculateLayout(); } hasBeenMeasured = false; if (layout != null && !layout.equals(atomicReference.get()) && Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) { if(Thread.currentThread() != Looper.getMainLooper().getThread()){ warmUpTextLayoutCache(layout); } } swap(); super.layoutAfter(); } WXTextDomObject(); TextPaint getTextPaint(); @Override void layoutBefore(); @Override void layoutAfter(); @Override Layout getExtra(); @Override void updateAttr(Map<String, Object> attrs); @Override void updateStyle(Map<String, Object> styles); @Override WXTextDomObject clone(); @Override void destroy();  }### Answer:
@Test public void testLayoutAfter() throws Exception { dom.layoutAfter(); }