ActorsPackageDescriptionImpl implements ActorsPackageDescription { @NotNull @Override public String getBuilderClassName() { assert mElement != null; ActorsPackage annotation = mElement.getAnnotation(ActorsPackage.class); return annotation.builderName(); } ActorsPackageDescriptionImpl(@NotNull Element element); @Override boolean validate(); @Override void describeProblems(@NotNull List<GenerationError> errors); @NotNull @Override String getPackageName(); @NotNull @Override String getBuilderClassName(); @NotNull @Override ActorsPackage.AccessLevel getAccessLevel();  }
@Test public void getBuilderClassName_sameObject_provideConfiguredAnnotation() { ActorsPackageDescriptionImpl impl = new ActorsPackageDescriptionImpl(mElement); Assert.assertEquals(BUILDER_CLASS_NAME, impl.getBuilderClassName()); }