public void NameByPathTest() { Assert.AreEqual("test1", CommandMgr.GetCommandNameByPath("test1.exe"), "Error, getting the name"); Assert.AreEqual("test2", CommandMgr.GetCommandNameByPath("test2.exe"), "Error, getting the name"); TestContext.WriteLine($"Expected \"test1\" -> Recived \"{CommandMgr.GetCommandNameByPath("test1.exe")}\""); TestContext.WriteLine($"Expected \"test2\" -> Recived \"{CommandMgr.GetCommandNameByPath("test2.exe")}\""); }