Esempio n. 1
0
        public void execution_must_be_fast(
            Type type,
            string key)
        {
            //warm up
            _resourceHelper
            .LookupResource(type, key);

            _resourceHelper
            .ExecutionTimeOf(s => s.LookupResource(type, key))
            .Should()
            .BeLessOrEqualTo(MaxExecutionTime);
        }