You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
abp/test/Volo.Abp.Http.Client.Tests/Volo/Abp/Http/DynamicProxying/RegularTestControllerClient...

24 lines
700 B

using Microsoft.Extensions.DependencyInjection;
using Shouldly;
using Xunit;
namespace Volo.Abp.Http.DynamicProxying
{
public class RegularTestControllerClientProxy_Tests : AbpHttpTestBase
{
//TODO: Create a regular MVC Controller and add different parameter bindings, verbs and routes and test client proxy for it!
private readonly IRegularTestController _controller;
public RegularTestControllerClientProxy_Tests()
{
_controller = ServiceProvider.GetRequiredService<IRegularTestController>();
}
[Fact]
public void IncrementValue()
{
_controller.IncrementValue(42).ShouldBe(43);
}
}
}