aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/test/java/org/onap/vid/roles/RoleProviderTest.java
blob: 6fdc21f783a2047ab57ee9ec6a0ad0a0938875ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
package org.onap.vid.roles;

import org.junit.Test;


public class RoleProviderTest {

	private RoleProvider createTestSubject() {
		return new RoleProvider();
	}

	
//	@Test
//	public void testGetUserRoles() throws Exception {
//		RoleProvider testSubject;
//		HttpServletRequest request = null;
//		List<Role> result;
//
//		// default test
//		testSubject = createTestSubject();
//		result = testSubject.getUserRoles(request);
//	}

	
	@Test
	public void testSplitRole() throws Exception {
		RoleProvider testSubject;
		String roleAsString = "";
		String[] result;

		// default test
		testSubject = createTestSubject();
		//TODO:fix result = testSubject.splitRole(roleAsString);
	}

}