@Test public void testPrepareCreation() { expected.expect(BadRequestException.class); expected.expectMessage("Cluster template creation is not supported"); underTest.prepareCreation(new ClusterTemplateView()); }
@Override protected void prepareCreation(ClusterTemplateView resource) { throw new BadRequestException("Cluster template creation is not supported from ClusterTemplateViewService"); }
ClusterTemplateViewService extends AbstractWorkspaceAwareResourceService<ClusterTemplateView> { @Override protected void prepareCreation(ClusterTemplateView resource) { throw new BadRequestException("Cluster template creation is not supported from ClusterTemplateViewService"); } }
ClusterTemplateViewService extends AbstractWorkspaceAwareResourceService<ClusterTemplateView> { @Override protected void prepareCreation(ClusterTemplateView resource) { throw new BadRequestException("Cluster template creation is not supported from ClusterTemplateViewService"); }  }
ClusterTemplateViewService extends AbstractWorkspaceAwareResourceService<ClusterTemplateView> { @Override protected void prepareCreation(ClusterTemplateView resource) { throw new BadRequestException("Cluster template creation is not supported from ClusterTemplateViewService"); }  Set<ClusterTemplateView> findAllActive(Long workspaceId); }
ClusterTemplateViewService extends AbstractWorkspaceAwareResourceService<ClusterTemplateView> { @Override protected void prepareCreation(ClusterTemplateView resource) { throw new BadRequestException("Cluster template creation is not supported from ClusterTemplateViewService"); }  Set<ClusterTemplateView> findAllActive(Long workspaceId);  }