public void ShouldThrowExceptionWhenGetCreatedCommunityListFails()
{
_communityRepository = new Mock<ICommunityRepository>();
_communityRepository.Setup(a => a.GetCreatedCommunitiesByUser(It.IsAny<int>(), It.IsAny<int>()))
.Throws(new Exception("Hooha!"));
var logic = new CommunityLogic(_communityRepository.Object);
Assert.Throws<BlogException>(() => logic.GetCreatedByUser(1));
}