ExpectationCollectionOfIO.cs 568 B

12345678910111213141516
  1. // -----------------------------------------------------------------------
  2. // Copyright (c) Microsoft Corporation. All rights reserved.
  3. // -----------------------------------------------------------------------
  4. using System;
  5. using System.Collections.ObjectModel;
  6. namespace System.UnitTesting
  7. {
  8. public class ExpectationCollection<TInput, TOutput> : Collection<Expectation<TInput, TOutput>>
  9. {
  10. public void Add(TInput input, TOutput output)
  11. {
  12. Add(new Expectation<TInput, TOutput>(input, output));
  13. }
  14. }
  15. }