	@Test
	public void testOnlyElementsInAWindowIsRemoved() {

		String windowSession = "windowSessionId";
		String windowId1 = "windowId1";
		String windowId2 = "windowId2";
		String generatedKey1 = windowSession + ApplicationLocalStore.OBJECT_DELIMITER + windowId1;
		String generatedKey2 = windowSession + ApplicationLocalStore.OBJECT_DELIMITER + windowId2;
		
		ApplicationLocalStore.getInstance().store(generatedKey1, "key", "value1");
		Object data = ApplicationLocalStore.getInstance().retrieve(generatedKey1, "key");
		assertEquals("value1", data.toString());
		
		ApplicationLocalStore.getInstance().store(generatedKey2, "key", "value2");
		assertEquals("value2", ApplicationLocalStore.getInstance().retrieve(generatedKey2, "key"));
		
		RPCServiceImpl impl = new RPCServiceImpl();
		impl.removeWindowsEventData(windowSession,windowId2);
		assertEquals(null, ApplicationLocalStore.getInstance().retrieve(generatedKey2, "key"));
		assertEquals("value1", ApplicationLocalStore.getInstance().retrieve(generatedKey1, "key"));
	}