dotnet-installer/test/Microsoft.DotNet.Tools.Tests.ComponentMocks/MockFeed.cs
William Lee 05052c0541
Use rich mock to test InstallCommand ()
To ensure the mock has the same behavior the component has, run mock under the same tests the adapter has.
It is a common problem that moq has -- "everything is mocked out, you are not test anything"
2018-01-24 10:16:27 -08:00

14 lines
417 B
C#

// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Generic;
namespace Microsoft.DotNet.Tools.Tests.ComponentMocks
{
public class MockFeed
{
public MockFeedType Type;
public string Uri;
public List<MockFeedPackage> Packages;
}
}