public void Attribute_loader_adds_size_attribute() { var attributes = new Dictionary<string, object>(); var loader = new AttributeLoader<ElementTestInstance>(new ElementTestInstance(), attributes); var result = loader.Size(5); Assert.Equal(5, attributes["size"]); Assert.IsType<ElementTestInstance>(result); }