public void testGetAllMessagesWithHashTagsMissingPounds() {
//Tests that MessageService.getAllMessages properly adds # in front of any hashtag values we
//wish to search for before hitting the data layers.
//Set up mock for SobaMessageDAO and inject into MessageServiceImpl.
SobaMessageDAO sobaMessageDAO = mock(SobaMessageDAO.class);
when(sobaMessageDAO.getMessagesFromInbox(any(User.class),anyLong(),anyLong(),anyInt(),
anyBoolean(), anyString(), anyListOf(String.class),anyString(),anyBoolean()))
.thenReturn(null);
MessageServiceImpl messageService = new MessageServiceImpl();
ReflectionTestUtils.setField(messageService,"sobaMessageDAO",sobaMessageDAO);