public void PythonImportGetIdentifierForAliasDoesNotThrowNullReferenceException()
        {
            string identifier = String.Empty;

            Assert.DoesNotThrow(delegate { identifier = import.GetOriginalNameForAlias("unknown"); });
            Assert.IsNull(identifier);
        }
Beispiel #2
0
 public void PythonImportGetIdentifierFromAliasReturnsExitForMyExit()
 {
     Assert.AreEqual("exit", import.GetOriginalNameForAlias("myexit"));
 }