Use a fake package manager for this test.
Provide PackageManager data and now check that ActionChooser returns
a sensible value (for "Open With", anyway).