### Question:
ClientBaseAxis implements ClientAxis<T>, DeepCloneable<ClientBaseAxis<T>> { @Override public T get(String id) { if (id == null) { return null; } for(T item : items) { if (id.equals(item.getId())) { return item; } } return null; } protected  ClientBaseAxis(); protected  ClientBaseAxis(ClientBaseAxis<T> other);  ClientBaseAxis(Collection<? extends T> c); @Override T get(String id); @Override T get(int index); List<T> getItems(); @Override int size(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); @Override ClientBaseAxis<T> deepClone();  }### Answer:
@Test public void get_nullId_null() { ClientBaseAxis<ClientQueryGroup> instance = createFullyConfiguredInstance(); assertNull(instance.get(null)); }
@Test public void get_notExistingId_null() { ClientBaseAxis<ClientQueryGroup> instance = createFullyConfiguredInstance(); assertNull(instance.get("notExisting")); }
@Test public void get_itemId_item() { ClientBaseAxis<ClientQueryGroup> instance = createFullyConfiguredInstance(); assertEquals(CLIENT_QUERY_GROUP, instance.get(CLIENT_QUERY_GROUP_ID)); }
@Test public void get_index_itemByIndex() { ClientBaseAxis<ClientQueryGroup> instance = createFullyConfiguredInstance(); assertEquals(CLIENT_QUERY_GROUP_2, instance.get(1)); }