Field { public EditText getEditText() { return mEditText; } protected  Field(final EditText editText); static Field using(final EditText editText); Field validate(final Validation what); EditText getEditText(); boolean isValid();  }
@Test public void testGetEditText() throws Exception { final EditText editText = new EditText(mActivity); final Field field = Field.using(editText); assertSame(editText, field.getEditText()); }