@Test public void testGetAgeRange(User user) throws AssertionError { assertTrue(1 <= user.getAge() && user.getAge() <= 150); }
@Test public void testGetAge(User user) throws AssertionError { assertTrue(String.valueOf(user.getAge()).matches("[0-9]+")); }