public void ClaimsAuthorizationIsPresent() { ApiControllerTestHelpers.AssertClaimsForMethod <ReceiveInventoryDto, HttpResponseMessage>(SystemUnderTest.Post, new [] { ClaimTypes.InventoryClaimTypes.Inventory }, ClaimActions.Create); }
public void AntiForgerTokenValidationIsPresent() { ApiControllerTestHelpers.AssertAntiForgeryTokenValidationForMethod <ReceiveInventoryDto, HttpResponseMessage>(SystemUnderTest.Post); }