### Question:
FieldDescriptor extends JavaMemberDescriptor<Field> implements AccessibleProperty { public Object get(Object obj) { try { return field.get(obj); } catch (IllegalAccessException e) { throw new ReflectionException(toString(), e); } } FieldDescriptor(TypeDescriptor typeDescriptor, Field field); Object getStatic(); Object get(Object obj); @Override boolean isReadable(); @Override boolean isReadableFrom(TypeDescriptor typeDescriptor); @Override boolean isWritable(); @Override boolean isWritableFrom(TypeDescriptor typeDescriptor); void setStatic(Object value); void set(Object obj, Object value); boolean isTransient(); TypeDescriptor getType(); @Override Field getElement(); final int hashCode(); final boolean equals(Object obj); String getName(); String toString();  }### Answer:
@Test(expected = IllegalArgumentException.class) public void get_value_from_wrong_type() { FieldDescriptor fieldDescriptor = type.getField("privateField"); fieldDescriptor.get(new Object()); }