public void removeFileStoreByName(String fsName) throws DdlException {
        try {
            client.removeFileStoreByName(fsName, serviceId);
        } catch (StarClientException e) {
            throw new DdlException("Failed to remove file store, error: " + e.getMessage());
        }
    }
@Test
    public void testRemoveFileStoreByName() throws StarClientException, DdlException {
        new Expectations() {
            {
                client.removeFileStoreByName("test-fsname", "1");
                result = new StarClientException(StatusCode.INVALID_ARGUMENT, "mocked exception");
            }
        };

        Deencapsulation.setField(starosAgent, "serviceId", "1");
        ExceptionChecker.expectThrowsWithMsg(DdlException.class,
                "Failed to remove file store, error: INVALID_ARGUMENT:mocked exception",
                () -> starosAgent.removeFileStoreByName("test-fsname"));
    }