Welcome to mirror list, hosted at ThFree Co, Russian Federation.

ExpectationCollectionOfIO.cs « UnitTesting « System « UnitTestFramework « Tests « System.ComponentModel.Composition « class « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f323eb5242da2d174b47a4ce19c4e482b99274f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// -----------------------------------------------------------------------
// Copyright (c) Microsoft Corporation.  All rights reserved.
// -----------------------------------------------------------------------
using System;
using System.Collections.ObjectModel;

namespace System.UnitTesting
{
    public class ExpectationCollection<TInput, TOutput> : Collection<Expectation<TInput, TOutput>>
    {
        public void Add(TInput input, TOutput output)
        {
            Add(new Expectation<TInput, TOutput>(input, output));
        }
    }
}