Skip to content

Commit

Permalink
Create AgentConfigTest.java
Browse files Browse the repository at this point in the history
  • Loading branch information
cheese8 authored and zilongTong committed Oct 18, 2022
1 parent 6217ef4 commit 4bfc3fa
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package com.tencent.tsf.femas.common.context;

import com.tencent.tsf.femas.agent.classloader.AgentClassLoader;
import org.junit.Assert;
import org.junit.Test;

public class AgentConfigTest {

@Test
public void testGetAgentClassLoader() {
AgentClassLoader agentClassLoader = AgentConfig.getAgentClassLoader(AgentConfigTest.class, Thread.currentThread());
Assert.assertNotNull(agentClassLoader);
}
}

0 comments on commit 4bfc3fa

Please sign in to comment.