-
Notifications
You must be signed in to change notification settings - Fork 870
Closed
Labels
dynamodbfeature-requestA feature should be added or improved.A feature should be added or improved.p1This is a high priority issueThis is a high priority issuequeued
Description
I would like to have following mocking, Since BatchGet<T>
is concrete class, we are unable to mock and test the functionality.
var dynamoDbContext = new Mock<IDynamoDBContext>();
dynamoDbContext.Setup(t => t.CreateBatchGet<TestModel>(It.IsAny<DynamoDBOperationConfig>()))
.Returns(new Mock<BatchGet<TestModel>>().Object);
var service = new TestService(dynamoDbContext.Object);
roelvandenbrand
Metadata
Metadata
Assignees
Labels
dynamodbfeature-requestA feature should be added or improved.A feature should be added or improved.p1This is a high priority issueThis is a high priority issuequeued