@Test
public void createWithMissingScript() {

    SparkShellTransformController controller = new SparkShellTransformController();
    Response response = controller.create(new TransformRequest());
    Assert.assertEquals(Response.Status.BAD_REQUEST, response.getStatusInfo());
    TransformResponse entity = (TransformResponse) response.getEntity();
    Assert.assertEquals("The request must include a script with the transformations to perform.", entity.getMessage());
    Assert.assertEquals(TransformResponse.Status.ERROR, entity.getStatus());
}