ExternalId implements ExternalIdentifiable, ExternalIdOrBundle, Comparable<ExternalId>, Serializable { public static ExternalId of(ExternalScheme scheme, String value) { return new ExternalId(scheme, value); } private  ExternalId(ExternalScheme scheme, String value); static ExternalId of(ExternalScheme scheme, String value); static ExternalId of(String scheme, String value); @FromString static ExternalId parse(String str); ExternalScheme getScheme(); String getValue(); boolean isScheme(ExternalScheme scheme); boolean isScheme(String scheme); boolean isNotScheme(ExternalScheme scheme); boolean isNotScheme(String scheme); @Override ExternalId getExternalId(); @Override ExternalIdBundle toBundle(); @Override int compareTo(ExternalId other); @Override boolean equals(Object obj); @Override int hashCode(); @Override @ToString String toString(); @Deprecated void toFudgeMsg(final FudgeSerializer serializer, final MutableFudgeMsg msg); @Deprecated static ExternalId fromFudgeMsg(final FudgeDeserializer deserializer, final FudgeMsg msg);  }
@Test(expectedExceptions = IllegalArgumentException.class) public void test_factory_ExternalScheme_String_nullScheme() { ExternalId.of((ExternalScheme) null, "value"); }
@Test(expectedExceptions = IllegalArgumentException.class) public void test_factory_ExternalScheme_String_nullValue() { ExternalId.of(SCHEME, (String) null); }
@Test(expectedExceptions = IllegalArgumentException.class) public void test_factory_ExternalScheme_String_emptyValue() { ExternalId.of(SCHEME, ""); }
@Test(expectedExceptions = IllegalArgumentException.class) public void test_factory_String_String_nullScheme() { ExternalId.of((String) null, "value"); }
@Test(expectedExceptions = IllegalArgumentException.class) public void test_factory_String_String_nullValue() { ExternalId.of("Scheme", (String) null); }
@Test(expectedExceptions = IllegalArgumentException.class) public void test_factory_String_String_emptyValue() { ExternalId.of("Scheme", ""); }