### Question:
Mapping { @Nonnull public ResourceModelMetaData getMetadata() { return metadata; } Mapping(@Nonnull String resourcePath, @Nonnull ResourceModelMetaData metadata, @Nonnull String resourceType); @Override String toString(); @Nonnull ResourceModelMetaData getMetadata(); @Nonnull String getResourceType(); @Override boolean equals(Object o); @Override int hashCode();  }### Answer:
@Test public void testMetadataGetter() { assertThat(this.testee.getMetadata()).isEqualTo(this.metaData); }