View Javadoc

1   package com.atlassian.pageobjects.binder;
2   
3   import com.atlassian.pageobjects.Tester;
4   
5   import java.util.HashMap;
6   import java.util.HashSet;
7   import java.util.Map;
8   import java.util.Set;
9   
10  /**
11  *
12  */
13  class SetTester implements Tester
14  {
15      private final Set<Object> injectables = new HashSet<Object>();
16  
17      public Iterable<Object> getInjectables()
18      {
19          return injectables;
20      }
21  
22      public void gotoUrl(String url)
23      {
24  
25      }
26  
27      public SetTester add(Object value)
28      {
29          injectables.add(value);
30          return this;
31      }
32  }