TextViewTarget extends ViewTarget<TextView> { public TextViewTarget(TextView textView) { super(textView); } TextViewTarget(TextView textView);  TextViewTarget(MirageRequest request, TextView textView); TextViewTarget location(@Location int location); TextViewTarget bounds(int left, int top, int right, int bottom); @Override ViewTarget<TextView> fade(); static final int LEFT; static final int TOP; static final int RIGHT; static final int BOTTOM; }
@Test public void testTextViewTarget() { TextView textView = new TextView(RuntimeEnvironment.application); TextViewTarget target = new TextViewTarget(textView); Assert.assertNotNull(target.getView()); target.placeHolder(new ColorDrawable(Color.RED)); target.error(new ColorDrawable(Color.BLUE)); Assert.assertNotNull(target.getPlaceHolderDrawable()); Assert.assertTrue(target.getPlaceHolderResourceId() < 1); Assert.assertTrue(target.getErrorResourceId() < 1); }