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