public void AddExecutionMock<T>(ServiceRequestExecution mock) where T : OrganizationRequest { if (!ExecutionMocks.ContainsKey(typeof(T))) ExecutionMocks.Add(typeof(T), mock); else ExecutionMocks[typeof(T)] = mock; }
public void RemoveExecutionMock <T>() where T : OrganizationRequest { ExecutionMocks.Remove(typeof(T)); }