public void ThrowsWhenUnsupportedType()
{
ExtendedProperties properties = GetBasicProperties();
properties.AddProperty("assembly.resource.loader.assembly", 123456);
try
{
new VelocityEngine().Init(properties);
Assert.Fail();
}
catch (VelocityException vex)
{
Assert.AreEqual("Expected property 'assembly' to be of type string or List<string>.",
vex.Message);
}
}