@Test
public void testGetSingleInvalidId() throws Exception {

    Table table = tableMetadataManager.get(TestUtils.TEST_TABLE_NAME);
    doThrow(FoxtrotExceptions.createMissingDocumentException(table, UUID.randomUUID()
            .toString())).when(dataStore)
            .get(any(Table.class), anyString());
    try {
        queryStore.get(TestUtils.TEST_TABLE_NAME, UUID.randomUUID()
                .toString());
        fail();
    } catch (FoxtrotException dse) {
        assertEquals(ErrorCode.DOCUMENT_NOT_FOUND, dse.getCode());
    }
}