    @Test(expected = UserNotInGroupException.class)
    public void testIllegalMessage() throws RemoteException {

        Message message = new Message(group, john, "hello");
        group.sendMessage(message);
    }