public void Get_CheckRepository_CalledGetXml()
        {
            //Arrange
            Mock.Arrange(() => _xmlRepository.GetXml(
                             Arg.Matches <string>(path => path.StartsWith(Path))))
            .MustBeCalled();

            //Act
            CreateController().Get();

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