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
7 * http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
16 package com.woorea.openstack.keystone.v3.api;
18 import com.woorea.openstack.keystone.model.Role;
19 import org.junit.Test;
21 public class ProjectGroupRolesResourceTest {
23 ProjectGroupRolesResource projectGroupRolesResource = new ProjectGroupRolesResource(null, "test");
25 @Test(expected = UnsupportedOperationException.class)
26 public void createTest() throws Exception {
27 projectGroupRolesResource.create(new Role());
30 @Test(expected = UnsupportedOperationException.class)
31 public void showTest() throws Exception {
32 projectGroupRolesResource.show("test");
35 @Test(expected = UnsupportedOperationException.class)
36 public void updateTest() throws Exception {
37 projectGroupRolesResource.update("test", new Role());
40 @Test(expected = UnsupportedOperationException.class)
41 public void deleteTest() throws Exception {
42 projectGroupRolesResource.delete("test");