@Test public void testGetErrorMessage() throws Exception { final String errorMessage = mNotEmpty.getErrorMessage(mActivity); assertNotNull(errorMessage); }
@Override public String getErrorMessage(final Context context) { return context.getString(R.string.formvalidations_empty); }
NotEmpty implements Validation { @Override public String getErrorMessage(final Context context) { return context.getString(R.string.formvalidations_empty); } }
NotEmpty implements Validation { @Override public String getErrorMessage(final Context context) { return context.getString(R.string.formvalidations_empty); } private  NotEmpty(); }
NotEmpty implements Validation { @Override public String getErrorMessage(final Context context) { return context.getString(R.string.formvalidations_empty); } private  NotEmpty(); static Validation build(); @Override String getErrorMessage(final Context context); @Override boolean isValid(final String text); }
NotEmpty implements Validation { @Override public String getErrorMessage(final Context context) { return context.getString(R.string.formvalidations_empty); } private  NotEmpty(); static Validation build(); @Override String getErrorMessage(final Context context); @Override boolean isValid(final String text);  }