// SetUp public ProxyFileTest() { parentPath = Path.Combine(Path.GetTempPath(), DynaFile.ToNamespacePath(ClassName)); parentPathFile = new DirectoryInfo(parentPath); pathToSource = Path.Combine(Path.GetTempPath(), $"{DynaFile.ToFullPath(ClassName)}.cs"); pathToSourceFile = new FileInfo(pathToSource); }
public void TestToPackagePath() { var path = DynaFile.ToNamespacePath("Vlingo.Actors.Startable"); Assert.Equal($"Vlingo{Path.DirectorySeparatorChar}Actors", path); }