package io.tromba.testdriver;

import org.testng.annotations.Test;

/**
 * Tests for the environment handlers.
 */
public class EnvironmentTests {

    @Test
    public void testProductionEnvironment() {
        final String expectedUrl = "http://tromba.io";
        final String initialUrl  = "http://tromba%ENV";

        // do stuff
    }

    @Test
    public void testStagingEnvironment() {
        final String expectedUrl = "http://tromba-staging.int";
        final String initialUrl  = "http://tromba%ENV";

        // magic here
    }

    @Test
    public void testProductionStandard() {
        final String initialUrl  = "http://tromba%ENV.io";
        final String expectedUrl = "http://tromba.io";
    }

    @Test
    public void testStagingStandard() {
        final String initialUrl  = "http://tromba%ENV.io";
        final String expectedUrl = "http://tromba.staging.io";
    }
}

@@ -24,16 +24,42 @@
 river;%0A%0A
+import org.testng.Assert;%0A
 import o
@@ -86,16 +86,16 @@
 s.Test;%0A
-
 %0A/**%0A * 
@@ -355,16 +355,98 @@
 o stuff%0A
+        String foundUrl = %22%22;%0A        Assert.assertEquals(foundUrl, expectedUrl);%0A
     %7D%0A%0A 
@@ -640,16 +640,98 @@
 ic here%0A
+        String foundUrl = %22%22;%0A        Assert.assertEquals(foundUrl, expectedUrl);%0A
     %7D%0A%0A 
@@ -891,24 +891,107 @@
 /tromba.io%22;
+%0A%0A        String foundUrl = %22%22;%0A        Assert.assertEquals(foundUrl, expectedUrl);
 %0A    %7D%0A%0A    
@@ -1087,32 +1087,32 @@
 tromba%25ENV.io%22;%0A
-
         final St
@@ -1153,21 +1153,104 @@
 staging.io%22;
+%0A%0A        String foundUrl = %22%22;%0A        Assert.assertEquals(foundUrl, expectedUrl);
 %0A    %7D%0A%7D%0A

add assertions to env tests