Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class testClass () {
- public void testMethod(OrganizationServiceProxy service) {
- service.Timeout = new TimeSpan(0, 15, 0);
- }
- }
- class testClass () {
- public void testMethod(IOrganizationService service) {
- var serviceProxy = (OrganizationServiceProxy) service; //This breaks when given a fake context
- service.Timeout = new TimeSpan(0, 15, 0);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement