public void Get_CheckManager_CalledExportAllSettings()
        {
            //Arrange
            Mock.Arrange(() => _manager.ExportAllSettings(
                             Arg.Matches <string>(path => path.StartsWith(Path)),
                             out _errorInformation))
            .MustBeCalled();

            //Act
            CreateController().Get();

            //Assert
            Mock.AssertAll(_manager);
        }
 public string Get()
 {
     _manager.ExportAllSettings(_fullPath, out _errorInformation);
     return(_xmlRepository.GetXml(_fullPath));
 }