protected override void OnAppearing() { base.OnAppearing(); _viewModel.IsPageVisible = true; if (TranscodeJob != null) { Task.Run(() => _viewModel.Load(TranscodeJob)); } }
public async Task PassesJobToImageGenerator() { var job = new TranscodeJob(); await _viewModel.Load(job); await _imageGenerator.Received().Generate(job); }