Refactored hamcrest matched into its own class that is parameterized by the accessor of the value being matched.