(PUP-1106) Check for failed deps on refresh

Retarget of #3079 onto master post puppet-4 merge down.
By doing `transaction.event_manager.expects(:process_events).with(resource).never` we would fail the expectation if resource processing actually occurred; so we can just run the transaction and if `#process_events` was not called we assume that the right thing happened.