public GetActor ( RusticiSoftware.TinCanAPILibrary.Model.Actor partialActor ) : RusticiSoftware.TinCanAPILibrary.Model.Actor | ||
partialActor | RusticiSoftware.TinCanAPILibrary.Model.Actor | An actor containing at least one inverse functional property |
Résultat | RusticiSoftware.TinCanAPILibrary.Model.Actor |
/// <summary> ///A test for GetActor ///</summary> //[TestMethod()] public void GetActorTest() { TinCanJsonConverter converter = new TinCanJsonConverter(); TCAPI target = new TCAPI("http://cloud.scorm.com/ScormEngineInterface/TCAPI/public", new BasicHTTPAuth("test", "password")); Actor partialActor = new Actor(); partialActor.Mbox = "mailto:[email protected]"; Actor fullActor = target.GetActor(partialActor); Console.Write(converter.SerializeToJSON(fullActor)); Assert.Inconclusive(INCONCLUSIVE_CONSOLE); }