Exemplo n.º 1
0
 public void Attribute_loader_adds_target_attribute()
 {
     var attributes = new Dictionary<string, object>();
     var loader = new AttributeLoader<ElementTestInstance>(new ElementTestInstance(), attributes);
     var result = loader.Target(Enums.ActionTarget.Blank);
     Assert.Equal("_blank", attributes["target"]);
     Assert.IsType<ElementTestInstance>(result);
 }