@Test public void testNonMotechBundle() { when(headers.get(ExtendedBundleInformation.EXPORT_PACKAGE)).thenReturn(NON_MOTECH_IMPORT_EXPORT); when(headers.get(ExtendedBundleInformation.IMPORT_PACKAGE)).thenReturn(NON_MOTECH_IMPORT_EXPORT); when(bundle.getSymbolicName()).thenReturn(NON_PLATFORM_NAME); assertFalse(bundleFilter.passesCriteria(bundle)); }
@Override public boolean passesCriteria(Bundle bundle) { return bundle != null && !isPlatformBundle(bundle) && importsExportsMotechPackage(bundle); }
DefaultBundleFilter extends MotechBundleFilter { @Override public boolean passesCriteria(Bundle bundle) { return bundle != null && !isPlatformBundle(bundle) && importsExportsMotechPackage(bundle); } }
DefaultBundleFilter extends MotechBundleFilter { @Override public boolean passesCriteria(Bundle bundle) { return bundle != null && !isPlatformBundle(bundle) && importsExportsMotechPackage(bundle); }  }
DefaultBundleFilter extends MotechBundleFilter { @Override public boolean passesCriteria(Bundle bundle) { return bundle != null && !isPlatformBundle(bundle) && importsExportsMotechPackage(bundle); }  @Override boolean passesCriteria(Bundle bundle); }
DefaultBundleFilter extends MotechBundleFilter { @Override public boolean passesCriteria(Bundle bundle) { return bundle != null && !isPlatformBundle(bundle) && importsExportsMotechPackage(bundle); }  @Override boolean passesCriteria(Bundle bundle);  }