package com.example;

import junit.framework.TestCase;

public class ProjectTest extends TestCase {

    public Actionwords actionwords = new Actionwords();

    public void testFindingASiteOnGoogle() {
        // Given  I open "http://www/google.com"
        actionwords.iOpenP1("http://www/google.com");
        // When I search for "Hiptest"
        actionwords.iSearchForP1("Hiptest");
        // Then a link to "Hiptest" agile management tool will open
        //actionwords.aLinkToP1AgileManagementToolWillOpen("Hiptest");
    }
}

@@ -98,23 +98,16 @@
  %7B%0A%0A    
-public 
 Actionwo
@@ -116,21 +116,16 @@
 s action
-words
  = new A
@@ -192,16 +192,67 @@
         
+%0A        if (action != null)%0A        %7B%0A            
 // Given
@@ -292,27 +292,26 @@
         
+    
 action
-words
 .iOpenP1
@@ -345,16 +345,20 @@
         
+  
+  
 // When 
@@ -388,27 +388,26 @@
         
+    
 action
-words
 .iSearch
@@ -436,67 +436,32 @@
     
-// Then a link to %22Hiptest%22 agile management tool will open
+%7D%0A        else%0A        %7B
 %0A   
@@ -469,11 +469,11 @@
     
-//a
+  A
 ctio
@@ -482,57 +482,205 @@
 ords
-.aLinkToP1AgileManagementToolWillOpen(%22Hiptest%22);
+ action1 = new Actionwords();%0A          action1.iOpenP1(%22http://www/google.com%22);%0A          // When I search for %22Hiptest%22%0A          action1.iSearchForP1(%22Hiptest%22);%0A            %0A        %7D%0A        
 %0A   

Update ProjectTest.java