public async Task TestSignerWithBasicCredentialsAsync()
{
var pipeline = new RuntimePipeline(new MockHandler());
pipeline.AddHandler(new Signer());
pipeline.AddHandler(new CredentialsRetriever(new BasicAWSCredentials("accessKey", "secretKey")));
var context = CreateTestContext();
var signer = new MockSigner();
((RequestContext)context.RequestContext).Signer = signer;
await pipeline.InvokeAsync<AmazonWebServiceResponse>(context);
Assert.IsTrue(context.RequestContext.IsSigned);
Assert.AreEqual(1, signer.SignCount);
}
#elif !BCL45 && BCL