@Test
public void describeProblems_ER0008_notPackage() {

    Mockito.doReturn(ElementKind.INTERFACE).when(mElement).getKind();
    List<GenerationError> errors = new ArrayList<>();
    ActorsPackageDescriptionImpl impl = new ActorsPackageDescriptionImpl(mElement);
    impl.describeProblems(errors);
    Assert.assertEquals(true, errors.get(0).isError);
    Assert.assertEquals(GenerationError.ER0008, errors.get(0).message);
    Assert.assertSame(mElement, errors.get(0).element);
}