public void ReturnsNullWhenAPropertyDoesntExist() { var component = new ScriptComponent(); Assert.IsNull(component.GetScriptPropertyValue("doesntExist")); }
public void ReturnsExistingProperties() { var value = new object(); var component = new ScriptComponent(); component.SetScriptPropertyValue("test", value); Assert.AreSame(value, component.GetScriptPropertyValue("test")); }