@Test public void testLocalMessagesAreNotValidatedWhenAdded() throws Exception { vm.eventOccurred(new MessageAddedEvent(message, null)); }
@Override public void eventOccurred(Event e) { if (e instanceof MessageAddedEvent) { MessageAddedEvent m = (MessageAddedEvent) e; if (m.getContactId() != null) loadGroupAndValidateAsync(m.getMessage()); } }
ValidationManagerImpl implements ValidationManager, Service,
		EventListener { @Override public void eventOccurred(Event e) { if (e instanceof MessageAddedEvent) { MessageAddedEvent m = (MessageAddedEvent) e; if (m.getContactId() != null) loadGroupAndValidateAsync(m.getMessage()); } } }
ValidationManagerImpl implements ValidationManager, Service,
		EventListener { @Override public void eventOccurred(Event e) { if (e instanceof MessageAddedEvent) { MessageAddedEvent m = (MessageAddedEvent) e; if (m.getContactId() != null) loadGroupAndValidateAsync(m.getMessage()); } } @Inject  ValidationManagerImpl(DatabaseComponent db,
			@DatabaseExecutor Executor dbExecutor,
			@ValidationExecutor Executor validationExecutor,
			MessageFactory messageFactory); }
ValidationManagerImpl implements ValidationManager, Service,
		EventListener { @Override public void eventOccurred(Event e) { if (e instanceof MessageAddedEvent) { MessageAddedEvent m = (MessageAddedEvent) e; if (m.getContactId() != null) loadGroupAndValidateAsync(m.getMessage()); } } @Inject  ValidationManagerImpl(DatabaseComponent db,
			@DatabaseExecutor Executor dbExecutor,
			@ValidationExecutor Executor validationExecutor,
			MessageFactory messageFactory); @Override void startService(); @Override void stopService(); @Override void registerMessageValidator(ClientId c, int majorVersion,
			MessageValidator v); @Override void registerIncomingMessageHook(ClientId c, int majorVersion,
			IncomingMessageHook hook); @Override void eventOccurred(Event e); }
ValidationManagerImpl implements ValidationManager, Service,
		EventListener { @Override public void eventOccurred(Event e) { if (e instanceof MessageAddedEvent) { MessageAddedEvent m = (MessageAddedEvent) e; if (m.getContactId() != null) loadGroupAndValidateAsync(m.getMessage()); } } @Inject  ValidationManagerImpl(DatabaseComponent db,
			@DatabaseExecutor Executor dbExecutor,
			@ValidationExecutor Executor validationExecutor,
			MessageFactory messageFactory); @Override void startService(); @Override void stopService(); @Override void registerMessageValidator(ClientId c, int majorVersion,
			MessageValidator v); @Override void registerIncomingMessageHook(ClientId c, int majorVersion,
			IncomingMessageHook hook); @Override void eventOccurred(Event e);  }