makes public the ApplicationTreeService on the services context

This commit is contained in:
Shannon
2013-10-17 11:26:34 +11:00
parent 3be2af15ee
commit 1ac2ccb8c2
3 changed files with 10 additions and 2 deletions

View File

@@ -122,6 +122,15 @@ namespace Umbraco.Tests
Assert.AreEqual("Hello world", result.Result);
}
[Test]
public virtual void CanConvertObjectToSameObject()
{
var obj = new MyTestObject();
var result = obj.TryConvertTo<object>();
Assert.AreEqual(obj, result);
}
private class MyTestObject
{