public StorageEntity queryResourcesFileInfo(String userName, String fullName) throws Exception {
        return resourceService.queryFileStatus(userName, fullName);
    }
@Test
    public void testQueryResourcesFileInfo() throws Exception {
        User user = getTestUser();
        StorageEntity storageEntity = getTestResource();

        Mockito.when(resourcesService.queryFileStatus(user.getUserName(), storageEntity.getFullName()))
                .thenReturn(storageEntity);
        StorageEntity result = pythonGateway.queryResourcesFileInfo(user.getUserName(), storageEntity.getFullName());
        Assertions.assertEquals(result.getId(), storageEntity.getId());
    }