Unit test getMessageByTopic with mockito works