public void BrowseCommandExecuted_DialogReturnsTrue_FilePathIsSet()
        {
            _imageChooser.ShowDialog().ReturnsForAnyArgs(true);
            _imageChooser.ImagePath.ReturnsForAnyArgs("SomeFilePath");

            _uut.BrowseCommand.Execute(null);
            Assert.That(_uut.FilePath, Is.EqualTo("SomeFilePath"));
        }
 private void BrowsePicture()
 {
     if (_imageChooser.ShowDialog())
     {
         FilePath = _imageChooser.ImagePath;
     }
 }