Skip to content

Commit

Permalink
Remove the reference to Moq as it only used in 1 test
Browse files Browse the repository at this point in the history
Moq also references Castle.Core, which may be confusing matters.
  • Loading branch information
JSkimming committed Apr 8, 2019
1 parent 8ccdddb commit bb76566
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,22 @@ namespace Castle.DynamicProxy
using System.Linq;
using System.Threading.Tasks;
using Castle.DynamicProxy.InterfaceProxies;
using Moq;
using Xunit;
using Xunit.Abstractions;

public class AsyncDeterminationInterceptorShould
{
private readonly ITestOutputHelper _output;

public AsyncDeterminationInterceptorShould(ITestOutputHelper output)
{
_output = output;
}

[Fact]
public void Implement_IInterceptor()
{
var sut = new AsyncDeterminationInterceptor(new Mock<IAsyncInterceptor>().Object);
var sut = new AsyncDeterminationInterceptor(new TestAsyncInterceptor(new ListLogger(_output)));

Assert.IsAssignableFrom<IInterceptor>(sut);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.0.1" />
<PackageReference Include="Moq" Version="4.10.1" />
<PackageReference Include="xunit" Version="2.4.1" />
<PackageReference Include="xunit.analyzers" Version="0.10.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1">
Expand Down

0 comments on commit bb76566

Please sign in to comment.