public void RelativeResolution(string relativePath, string expectedResolutionPath)
 {
     var manager = new CodeFileManager(_rootPath);
     var path = manager.AddFile(relativePath, CodeFileType.Compilation);
     Assert.That(manager.CompilationPaths.Count, Is.EqualTo(1));
     Assert.That(path, Is.EqualTo(expectedResolutionPath));
 }
 public void VerifyAddFileThrow(CodeFileType type)
 {
     var manager = new CodeFileManager(_rootPath);
     Assert.Throws<ArgumentException>(() => manager.AddFile(null, type));
     Assert.Throws<ArgumentException>(() => manager.AddFile(string.Empty, type));
 }
 public void VerfiyPathRetrieval()
 {
     var manager = new CodeFileManager(_rootPath);
     Assert.That(manager.GetProjectFilePath(), Is.EqualTo(_rootPath));
 }