dac2691553011ee66d3248679bb8ef8367bdfe2f
[so/libs.git] /
1 /*-
2  * ============LICENSE_START=======================================================
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  *      http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  * ============LICENSE_END=========================================================
15  */
16 package com.woorea.openstack.keystone.v3.api;
17
18 import com.woorea.openstack.keystone.model.Role;
19 import org.junit.Test;
20
21 public class ProjectGroupRolesResourceTest {
22
23     ProjectGroupRolesResource projectGroupRolesResource = new ProjectGroupRolesResource(null, "test");
24
25     @Test(expected = UnsupportedOperationException.class)
26     public void createTest() throws Exception {
27         projectGroupRolesResource.create(new Role());
28     }
29
30     @Test(expected = UnsupportedOperationException.class)
31     public void showTest() throws Exception {
32         projectGroupRolesResource.show("test");
33     }
34
35     @Test(expected = UnsupportedOperationException.class)
36     public void updateTest() throws Exception {
37         projectGroupRolesResource.update("test", new Role());
38     }
39
40     @Test(expected = UnsupportedOperationException.class)
41     public void deleteTest() throws Exception {
42         projectGroupRolesResource.delete("test");
43     }
44
45 }