@Test
public void testSetTextDirection() {

  mLayout = mBuilder.setTextDirection(TextDirectionHeuristicsCompat.LOCALE).build();
  assertEquals(mBuilder.getTextDirection(), TextDirectionHeuristicsCompat.LOCALE);
}