@Test
void storeUnserializedJobStatus()
{

    List<String> id = Arrays.asList("test");
    DefaultRequest request = new DefaultRequest();
    request.setId(id);
    request.setStatusSerialized(false);
    JobStatus jobStatus = new DefaultJobStatus("type", request, null, null, null);
    this.store.store(jobStatus);
    // Verify that the status hasn't been serialized, indirectly verifying that isSerializable() has been called and
    // returned true.
    assertFalse(new File(this.storeDirectory, "test/status.xml").exists());
}