@Test(expected = IllegalArgumentException.class) public void testCheckingForResourceModelMappingDoesNotAcceptNull() { this.testee.hasOngoingMapping(null); }
boolean hasOngoingMapping(ResourceModelMetaData metadata) { if (metadata == null) { throw new IllegalArgumentException("Method argument metadata must not be null"); } return this.mappingStack.get().contains(metadata); }
NestedMappingSupport { boolean hasOngoingMapping(ResourceModelMetaData metadata) { if (metadata == null) { throw new IllegalArgumentException("Method argument metadata must not be null"); } return this.mappingStack.get().contains(metadata); } }
NestedMappingSupport { boolean hasOngoingMapping(ResourceModelMetaData metadata) { if (metadata == null) { throw new IllegalArgumentException("Method argument metadata must not be null"); } return this.mappingStack.get().contains(metadata); }  }
NestedMappingSupport { boolean hasOngoingMapping(ResourceModelMetaData metadata) { if (metadata == null) { throw new IllegalArgumentException("Method argument metadata must not be null"); } return this.mappingStack.get().contains(metadata); }  void beginRecordingMappings(); @CheckForNull Map<Object, Mapping<?>> getRecordedMappings(); void endRecordingMappings(); }
NestedMappingSupport { boolean hasOngoingMapping(ResourceModelMetaData metadata) { if (metadata == null) { throw new IllegalArgumentException("Method argument metadata must not be null"); } return this.mappingStack.get().contains(metadata); }  void beginRecordingMappings(); @CheckForNull Map<Object, Mapping<?>> getRecordedMappings(); void endRecordingMappings();  }