@Test
public void getPublisher_PublisherExist() {

    when(subscriptionDelegateTestObject.publisherDao.findPublisher(contextId, contextType, sourceId, sourceType)).thenReturn(publisher);

    Publisher resultPublisher = subscriptionDelegateTestObject.getPublisher(subscriptionContext);

    assertEquals("getPublisher returns wrong publisher", publisher, resultPublisher);

}