@Test public void testTextIsNotValid() throws Exception { assertFalse(mIsNumber.isValid("text")); }
@Override public boolean isValid(final String value) { return value.matches("[0-9]*"); }
IsNumber implements Validation { @Override public boolean isValid(final String value) { return value.matches("[0-9]*"); } }
IsNumber implements Validation { @Override public boolean isValid(final String value) { return value.matches("[0-9]*"); } private  IsNumber(); }
IsNumber implements Validation { @Override public boolean isValid(final String value) { return value.matches("[0-9]*"); } private  IsNumber(); static IsNumber build(); @Override String getErrorMessage(final Context context); @Override boolean isValid(final String value); }
IsNumber implements Validation { @Override public boolean isValid(final String value) { return value.matches("[0-9]*"); } private  IsNumber(); static IsNumber build(); @Override String getErrorMessage(final Context context); @Override boolean isValid(final String value);  }