Advertisement
Guest User

Untitled

a guest
Sep 25th, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. // Direct access to the dictionary in ScenarioContext.Current.
  2. Customer customer = ScenarioContext.Current.Get<Customer>("CurrentCustomer");
  3. ManipulateCustomer(customer);
  4. Validate(customer);
  5. ScenarioContext.Current.Set(customer, "CurrentCustomer");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement