AssertParser { public static Assert parse(String v) { if (v != null) { for (Assert a : Assert.values()) { if (a.getValue().equals(v)) { return a; } } } return null; } private  AssertParser(); static Assert parse(String v); static String print(Assert a);  }
@Test public void parseUnknown() { assertNull(AssertParser.parse("bla")); }