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

    thrown.expect( JoltSpecException.class );
    thrown.expectCause(IsInstanceOf.instanceOf(SpecException.class));
    JoltSpecBuilder.buildSpec("[{\"operation\":\"xx\"}]");
}