### Question:
AppNamespaceService { public AppNamespace findByAppIdAndName(String appId, String namespaceName) { return appNamespaceRepository.findByAppIdAndName(appId, namespaceName); }  @Transactional void batchDelete(String appId, String operator); @Transactional void deleteAppNamespace(AppNamespace appNamespace, String operator); AppNamespace findPublicNamespaceByName(String namespaceName); List<AppNamespace> findByAppId(String appId); List<AppNamespace> findPublicAppNamespaces(); AppNamespace findPublicAppNamespace(String namespaceName); AppNamespace findByAppIdAndName(String appId, String namespaceName); @Transactional void createDefaultAppNamespace(String appId, String createBy); @Transactional void createDefaultAppNamespace(String appId); boolean isAppNamespaceNameUnique(String appId, String namespaceName); AppNamespace createAppNamespaceInLocal(AppNamespace appNamespace); @Transactional AppNamespace createAppNamespaceInLocal(AppNamespace appNamespace, boolean appendNamespacePrefix); @Transactional AppNamespace deleteAppNamespace(String appId, String namespaceName); void batchDeleteByAppId(String appId, String operator);  }### Answer:
@Test @Sql(scripts = "/sql/appnamespaceservice/init-appnamespace.sql", executionPhase = Sql.ExecutionPhase.BEFORE_TEST_METHOD) @Sql(scripts = "/sql/cleanup.sql", executionPhase = Sql.ExecutionPhase.AFTER_TEST_METHOD) public void testFindPublicAppNamespaceByAppAndName() { Assert.assertNotNull(appNamespaceService.findByAppIdAndName("100003173", "datasourcexml")); Assert.assertNull(appNamespaceService.findByAppIdAndName("100003173", "TFF.song0711-02")); }