Extract duplicated logic from ObjectStateMatcher to method