// Path: src/main/java/com/coding4people/mosquitoreport/api/Env.java
// public class Env {
//     public final static Env instance = new Env();
//     
//     private Map<String, String> properties = Maps.newHashMap();
//     
//     public Optional<String> get(String key) {
//         return Optional.ofNullable(properties.getOrDefault(key, System.getenv(key)));
//     }
//     
//     public Env register(String key, String value) {
//         properties.put(key, value);
//         
//         return this;
//     }
// }


import static org.junit.Assert.assertTrue;
import org.junit.Test;
import com.amazonaws.AmazonClientException;
import com.amazonaws.ClientConfiguration;
import com.amazonaws.auth.AWSCredentialsProvider;
import com.amazonaws.auth.BasicAWSCredentials;
import com.amazonaws.internal.StaticCredentialsProvider;
import com.amazonaws.retry.PredefinedRetryPolicies;
import com.amazonaws.services.dynamodbv2.AmazonDynamoDB;
import com.coding4people.mosquitoreport.api.Env;
package com.coding4people.mosquitoreport.api.factories;




public class AmazonDynamoDBFactoryTest {
    @Test
    public void testProvide() {
// Path: src/main/java/com/coding4people/mosquitoreport/api/Env.java
// public class Env {
//     public final static Env instance = new Env();
//     
//     private Map<String, String> properties = Maps.newHashMap();
//     
//     public Optional<String> get(String key) {
//         return Optional.ofNullable(properties.getOrDefault(key, System.getenv(key)));
//     }
//     
//     public Env register(String key, String value) {
//         properties.put(key, value);
//         
//         return this;
//     }
// }


// Path: src/test/java/com/coding4people/mosquitoreport/api/factories/AmazonDynamoDBFactoryTest.java
import static org.junit.Assert.assertTrue;
import org.junit.Test;
import com.amazonaws.AmazonClientException;
import com.amazonaws.ClientConfiguration;
import com.amazonaws.auth.AWSCredentialsProvider;
import com.amazonaws.auth.BasicAWSCredentials;
import com.amazonaws.internal.StaticCredentialsProvider;
import com.amazonaws.retry.PredefinedRetryPolicies;
import com.amazonaws.services.dynamodbv2.AmazonDynamoDB;
import com.coding4people.mosquitoreport.api.Env;

package com.coding4people.mosquitoreport.api.factories;




public class AmazonDynamoDBFactoryTest {
    @Test
    public void testProvide() {
        Env env = new Env().register("DYNAMODB_ENDPOINT", "fakeendpoint");