@Test public void computePackagePrefix() { assertEquals(testee._computePackagePrefix(ClientCreateWithIdExc.class), "de.beuth.knabe.spring_ddd_bank.rest_interface."); assertEquals(testee._computePackagePrefix(Client.NotOwnerExc.class), "de.beuth.knabe.spring_ddd_bank.domain."); assertEquals(testee.restInterfacePackagePrefix, "de.beuth.knabe.spring_ddd_bank.rest_interface."); assertEquals(testee.domainPackagePrefix, "de.beuth.knabe.spring_ddd_bank.domain."); }
String _computePackagePrefix(final Class<?> excClass) { final String packageName = excClass.getPackage().getName(); return packageName + '.'; }
ExceptionAdvice { String _computePackagePrefix(final Class<?> excClass) { final String packageName = excClass.getPackage().getName(); return packageName + '.'; } }
ExceptionAdvice { String _computePackagePrefix(final Class<?> excClass) { final String packageName = excClass.getPackage().getName(); return packageName + '.'; }  }
ExceptionAdvice { String _computePackagePrefix(final Class<?> excClass) { final String packageName = excClass.getPackage().getName(); return packageName + '.'; }   }
ExceptionAdvice { String _computePackagePrefix(final Class<?> excClass) { final String packageName = excClass.getPackage().getName(); return packageName + '.'; }   static final String BASE_NAME; }