assertEquals(observer.getUpMessages().size(),1);
assertEquals(1, observer.getUpMessages().size());
	public void testEventUpNoMessage() throws Exception{		// initialise the encryption		Properties props = new Properties();		String defaultKeystore = "defaultStore.keystore";		props.put("key_store_name",defaultKeystore);		//javax.		ENCRYPT encrypt = new ENCRYPT();		encrypt.setProperties(props);		try {			encrypt.init();		} catch (Exception e){			fail(e.getMessage());		}				MockObserver observer = new MockObserver();		encrypt.setObserver(observer);				encrypt.keyServer = true;			Event event = new Event(Event.MSG,null);		encrypt.up(event);		assertEquals(observer.getUpMessages().size(),1);		}