@Test public void testGetKey2() throws Throwable { String result = (String) new ObjectTemplate("testString", "").getKey(); assertEquals("testString", 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();  }