public async void testGetAllEntities() { var handler = new EntityHandler(); APIGatewayProxyRequest request = new APIGatewayProxyRequest(); object result = await handler.getEntities(request); // TODO: Better assertion Assert.NotEmpty(result.ToString()); }
public async void testGetMultipleEntities() { var handler = new EntityHandler(); APIGatewayProxyRequest request = new APIGatewayProxyRequest(); request.Body = "{ 'position.lat': { $gt: 59.29}}"; object result = await handler.getEntities(request); // TODO: Better assertion Assert.NotEmpty(result.ToString()); }