Granted most fiction wont provide an objective audit of views on any subject, but to say that the only thing you can learn is the mind of the author oversimplifies the cognitive process that takes place during reading, as well as the issues addressed by fiction.
Reading in any non-topical sense forces you to evaluate what you are reading and helps create those new connections in your brain. At the same time, many of the deep issues addressed in fiction are completely outside the realm of factual verification.