ActorsPackageDescriptionImpl implements ActorsPackageDescription { @NotNull @Override public String getPackageName() { assert mElement != null; return mElement.getQualifiedName().toString(); } 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 getPackageName_sameObject_providePackage() { ActorsPackageDescriptionImpl impl = new ActorsPackageDescriptionImpl(mElement); Assert.assertEquals(PACKAGE_NAME, impl.getPackageName()); }