|
|
@@ -0,0 +1,27 @@
|
|
|
+package com.uas.sso.bihe.service.impl;
|
|
|
+
|
|
|
+import com.uas.sso.bihe.service.BiHeService;
|
|
|
+import org.junit.Test;
|
|
|
+import org.junit.runner.RunWith;
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.boot.test.context.SpringBootTest;
|
|
|
+import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
|
|
|
+
|
|
|
+import static org.junit.Assert.*;
|
|
|
+
|
|
|
+/**
|
|
|
+ * @author uas
|
|
|
+ * @date 2018/7/18.
|
|
|
+ */
|
|
|
+@SpringBootTest
|
|
|
+@RunWith(SpringJUnit4ClassRunner.class)
|
|
|
+public class BiHeServiceImplTest {
|
|
|
+
|
|
|
+ @Autowired
|
|
|
+ private BiHeService biHeService;
|
|
|
+
|
|
|
+ @Test
|
|
|
+ public void getOAuthInfoByCode() {
|
|
|
+ biHeService.getOAuthInfoByCode("fsdf");
|
|
|
+ }
|
|
|
+}
|