@Test
public void describeProblems_ER0001_notInterface() {

    TypeElement element = getTypeElement(ActorClass.class);
    List<GenerationError> errors = new ArrayList<>();
    ActorInterfaceDescriptionImpl description = new ActorInterfaceDescriptionImpl(element);
    description.describeProblems(errors);
    Assert.assertEquals(1, errors.size());
    Assert.assertEquals(true, errors.get(0).isError);
    Assert.assertEquals(GenerationError.ER0001, errors.get(0).message);
    Assert.assertSame(element, errors.get(0).element);
}