public void Test_FileParent() { String expected = System.Reflection.Assembly.GetAssembly(typeof(java.lang.SystemJ)).Location; expected = expected.Substring(0, expected.Length - "/VampireApi.dll".Length); java.io.File runtimeDll = new java.io.File(System.Reflection.Assembly.GetAssembly(typeof(java.lang.SystemJ)).Location); String actually = runtimeDll.getParent(); Assert.AreEqual(expected, actually); }