Beispiel #1
0
        public void RemovePostsIsCalledWhenPostIsDeleted()
        {
            controller.DeletePost(It.IsAny <int>());

            irepository.Verify(r => r.RemovePost(It.IsAny <Posts>()), Times.Once);
        }