@Test
public void testValidateSolutionTemplates() {

    final String caller = "testValidateDomainTemplates";
    List<String> templateNames = new ArrayList<>();
    templateNames.add("platforms");
    zms.validateSolutionTemplates(templateNames, caller);
    
    templateNames.add("vipng");
    zms.validateSolutionTemplates(templateNames, caller);
    templateNames.add("athenz");
    try {
        zms.validateSolutionTemplates(templateNames, caller);
        fail();
    } catch (ResourceException ex) {
        assertEquals(404, ex.getCode());
        assertTrue(ex.getMessage().contains("athenz"));
    }
}