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