### Question:
ResourceModelResolverImpl implements ResourceModelResolver { @Override public Object resolveMostSpecificModelIncludingModelsForBaseTypes(Resource resource) { if (resource == null) { throw new IllegalArgumentException("Method argument resource must not be null."); } return resolveMostSpecificModelForResource(resource, true, null); }  @Override Object resolveMostSpecificModelWithName(Resource resource, String name); @Override Object resolveMostSpecificModel(Resource resource); @Override Object resolveMostSpecificModelIncludingModelsForBaseTypes(Resource resource);  }### Answer:
@Test(expected = IllegalArgumentException.class) public void testResolveMostSpecificModelsIncludingBaseTypesRequiresResource() { this.testee.resolveMostSpecificModelIncludingModelsForBaseTypes(null); }