private void verifyAction_Finished(object sender, ActionFinishedEventArgs e) { finishedEventArgs = e; verifyAction.PendingFeatures.Count.ShouldEqual(0); verifyAction.FeatureStates["domain.com"][featureOne].ShouldEqual(FeatureState.Enabled); verifyAction.FeatureStates["domain.com"][featureTwo].ShouldEqual(FeatureState.Rejected); verifyAction.FeatureStates["domain.com"][featureThree].ShouldEqual(FeatureState.Enabled); // TODO: Test the argument to be correct licenseStore.Received(1).SetLicenses(Arg.Any <ICollection <KeyValuePair <string, byte[]> > >()); }