### Question:
OriginalStatesAccessor { @SuppressWarnings("unchecked") public E get(E entity) { if (entity == null) { throw new DomaNullPointerException("entity"); } try { return (E) FieldUtil.get(field, entity); } catch (WrapException wrapException) { throw new OriginalStatesAccessException( wrapException.getCause(), entityClass.getName(), name); } } OriginalStatesAccessor(Class<? super E> entityClass, String name); @SuppressWarnings("unchecked") E get(E entity); void set(E entity, E states);  }### Answer:
@Test public void testGet() { Hoge states = new Hoge(); Hoge hoge = new Hoge(); hoge.setOriginalStates(states); OriginalStatesAccessor<Hoge> accessor = new OriginalStatesAccessor<>(Hoge.class, "originalStates"); assertSame(states, accessor.get(hoge)); }