示例#1
0
        public void TestBaseRepositoryTraceForAfterMinAll()
        {
            // Prepare
            var trace      = new Mock <ITrace>();
            var repository = new TraceEntityRepository(trace.Object);

            // Act
            repository.MinAll(e => e.Id);

            // Assert
            trace.Verify(t => t.AfterMinAll(It.IsAny <TraceLog>()), Times.Once);
        }