Inspector::getPrimaryKey().
Inspector tests.