@Test(expected = IllegalArgumentException.class) public void testResolveMostSpecificModelsIncludingBaseTypesRequiresResource() { this.testee.resolveMostSpecificModelIncludingModelsForBaseTypes(null); }
@Override public Object resolveMostSpecificModelIncludingModelsForBaseTypes(Resource resource) { if (resource == null) { throw new IllegalArgumentException("Method argument resource must not be null."); } return resolveMostSpecificModelForResource(resource, true, null); }
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); } }
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); }  }
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); }
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);  }