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