@Test
public void testTwoSpecialBundles() {

	System.setProperty(WebAppBundleTrackerCustomizer.IMPL_BUNDLES, "b;bundle-version\\=1.0.0,a;bundle-version\\=1.0.0");
	VirgoEEBundleComparable comparable = new VirgoEEBundleComparable();

	Bundle b1 = EasyMock.createMock(Bundle.class);
	Bundle b2 = EasyMock.createMock(Bundle.class);

	EasyMock.expect(b1.getSymbolicName()).andReturn("a");
	EasyMock.expect(b2.getSymbolicName()).andReturn("b");
	
	EasyMock.replay(b1, b2);
	
	assertEquals("Bundle b is declared first in impl.bundles - should be less",-1, comparable.compare(b2, b1));
}