@Test
public void from() throws Exception {

  DAType daType = DATypeFactory.from(getClass());
  assertThat(daType.getKind()).isEqualTo(DATypeKind.DECLARED);
  assertThat(daType.getSimpleName().getName()).isEqualTo(getClass().getSimpleName());
  assertThat(daType.getQualifiedName().getName()).isEqualTo(getClass().getCanonicalName());
  assertThat(daType.getTypeArgs()).isEmpty();
}