Ejemplo n.º 1
0
        public void Should_replace_the_assembly_part_of_the_assembly_qualified_name_with_the_name_of_BDDExtensions()
        {
            var nameOfTheReportAssembly = typeof(IReportGenerator).Assembly.GetName().Name;
            var updatedName             = string.Concat("NVelocity.Some.Class,", nameOfTheReportAssembly);

            _directiveManager.WasToldTo(dm => dm.Register(updatedName));
        }
Ejemplo n.º 2
0
 public void Should_not_update_the_directives_assembly_qualified_name()
 {
     directiveManager.WasToldTo(dm => dm.Register(velocityTypeName));
 }