@Test
public void declared() throws Exception {

  DAType daType = DATypeFactory.declared("com.acme.Toto");
  assertThat(daType.getKind()).isEqualTo(DATypeKind.DECLARED);
  assertThat(daType.getSimpleName().getName()).isEqualTo("Toto");
  assertThat(daType.getQualifiedName().getName()).isEqualTo("com.acme.Toto");
  assertThat(daType.getTypeArgs()).isEmpty();
}