### Question:
ReadOnlyProperty { public Class<T> getType() { return type; } ReadOnlyProperty(Class<T> aType, Object aOwner, String aName, T aDefaultValue); Class<T> getType(); Object getOwner(); String getName(); T get(); boolean isNull();  }### Answer:
@Test public void testGetType() throws Exception { ReadOnlyProperty<String> theProperty = new ReadOnlyProperty<>(String.class, this, "property", "default"); assertSame(String.class, theProperty.getType()); }