예제 #1
0
        public bool IsPermitted_WhenNameProvided_ExpectCorrectValue(string value)
        {
            // Arrange
            var entityParser = new EntityParser <TestEntity>();

            // Act
            var stopwatch   = Stopwatch.StartNew();
            var isPermitted = entityParser.IsPermitted(value);

            stopwatch.Stop();

            // Assert
            this.WriteTimeElapsed(stopwatch);

            return(isPermitted);
        }