Tests that the ClassNamesResourceConfig could be used to define the resource classes.
