DANameFactory { @Nonnull public static DANameImpl from(@Nonnull String string) { return new DANameImpl(string); } private  DANameFactory(); @Nonnull static DANameImpl from(@Nonnull String string); @Nonnull static DAName fromPrimitiveKind(@Nonnull DATypeKind kind); @Nonnull static DAName simpleFromQualified(@Nonnull DAName daName); @Nonnull static DAName simpleFromQualified(@Nonnull String qualifiedName); @Nullable static DAName packageNameFromQualified(@Nullable DAName qualifiedName); @Nonnull static DAName wildcard(); @Nonnull static DAName voidDAName();  }
@Test public void from_string() throws Exception { assertThat(DANameFactory.from(TOTO).getName()).isEqualTo(TOTO); }