@@ -0,0 +1,1154 @@
+package com.containersol.minimesos.util;%0A%0Aimport org.junit.Assert;%0Aimport org.junit.Test;%0A%0Aimport java.util.Map;%0Aimport java.util.TreeMap;%0A%0Aimport static org.hamcrest.Matchers.array;%0Aimport static org.hamcrest.Matchers.is;%0A%0Apublic class EnvironmentBuilderTest %7B%0A%0A    @Test%0A    public void mergingSeveralSourcesProducesCorrectMap() %7B%0A        Map%3CString, String%3E source1 = new TreeMap%3C%3E();%0A        source1.put(%22envVar1%22, %22value1%22);%0A        source1.put(%22envVar2%22, %22value2%22);%0A        source1.put(%22envVar3%22, %22value3%22);%0A        source1.put(%22envVar4%22, %22value4%22);%0A        Map%3CString, String%3E source2 = new TreeMap%3C%3E();%0A        source2.put(%22envVar5%22, %22value5%22);%0A        source2.put(%22envVar6%22, %22value6%22);%0A%0A        String%5B%5D result = EnvironmentBuilder.newEnvironment()%0A                .withValues(source1)%0A                .withValue(%22envVarX%22, %22valueX%22)%0A                .withValues(source2)%0A                .createEnvironment();%0A%0A        Assert.assertThat(result, array(is(%22envVar1=value1%22),%0A                is(%22envVar2=value2%22), is(%22envVar3=value3%22), is(%22envVar4=value4%22),%0A                is(%22envVar5=value5%22), is(%22envVar6=value6%22), is(%22envVarX=valueX%22)));%0A    %7D%0A%7D

Add unit test for EnvironmentBuilder