@Test public void testGetKey() throws Throwable { Integer key = Integer.valueOf(0); Integer result = (Integer) new ObjectTemplate(key, Integer.valueOf(0)).getKey(); assertSame(key, result, "result"); }
public Object getKey() { return key; }
ObjectTemplate implements Template { public Object getKey() { return key; } }
ObjectTemplate implements Template { public Object getKey() { return key; } ObjectTemplate(Object key, Object value); }
ObjectTemplate implements Template { public Object getKey() { return key; } ObjectTemplate(Object key, Object value); Object getKey(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString(); }
ObjectTemplate implements Template { public Object getKey() { return key; } ObjectTemplate(Object key, Object value); Object getKey(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString();  }