### Question:
ClusterTemplateViewService extends AbstractWorkspaceAwareResourceService<ClusterTemplateView> { @Override protected void prepareDeletion(ClusterTemplateView resource) { throw new BadRequestException("Cluster template deletion is not supported from ClusterTemplateViewService"); }  Set<ClusterTemplateView> findAllActive(Long workspaceId);  }### Answer:
@Test public void testPrepareDeletion() { expected.expect(BadRequestException.class); expected.expectMessage("Cluster template deletion is not supported"); underTest.prepareDeletion(new ClusterTemplateView()); }