@Test
public void testTwoBundlesSameSymbolicNames() {

	System.clearProperty(WebAppBundleTrackerCustomizer.IMPL_BUNDLES);
	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("a");
	
	EasyMock.replay(b1, b2);
	
	assertEquals("Bundles have same symbolic name, should be equal",0, comparable.compare(b1, b2));
}