public void DeleteMedia_NormalCase_Deleted() { Mock<ILoggerService> loggerService = new Mock<ILoggerService>(); loggerService.SetupSequence(o => o.Log(It.IsAny<Log>())).Returns(true); FileService Service = new FileService(loggerService.Object); bool flag = Service.DeleteMedia(this.StoredMedia); Assert.IsTrue(flag); }