@Test
public void testBuildSpecInvalidSpecWildcardNotAllowed(TestContext context) throws JoltSpecException {

    thrown.expect( JoltSpecException.class );
    thrown.expectCause(IsInstanceOf.instanceOf(SpecException.class));
    String specWildcardNotAllowed = "[\n" +
            "  {\n" +
            "    \"operation\": \"shift\",\n" +
            "    \"spec\": {\n" +
            "      \"@1\": {\n" +
            "        \"@\": \"*\"\n" +
            "      }\n" +
            "    }\n" +
            "  }\n" +
            "]";
    JoltSpecBuilder.buildSpec(specWildcardNotAllowed);
}