示例#1
0
        public void WithSafeMode_NotSpecified_IsNotSafeMode()
        {
            // Arrange
            var builder = new ArdoqModelMappingBuilder(null, null, null);

            // Act
            builder
            .WithReader(_readerMock.Object)
            .WithWriter(_writerMock.Object)
            .WithSearcher(_searcherMock.Object);

            var session = builder.Build();

            // Assert
            Assert.False(session.IsSafeMode);
        }