@Test
    public void selectByPrimaryKeyWithOtherTenant() {
        InlongGroupEntity entity = createGroupEntity();
        groupEntityMapper.insert(entity);
        setOtherTenant(ANOTHER_TENANT);
        InlongGroupEntity groupEntity = groupEntityMapper.selectByPrimaryKey(entity.getId());
        Assertions.assertNull(groupEntity);
    }
Inlong group entity mapper test for {@link InlongGroupEntityMapper}
inlong-manager/manager-dao/src/test/java/org/apache/inlong/manager/dao/mapper/InlongGroupEntityMapperTest.java