### Question:
UpdateSnapshotAccessor extends DMLSnapshotAccessor { @Override protected SnapshotSQLContext getSnapshotSQLContext(final SQLRevertExecutorContext context) { return new SnapshotSQLContext(context.getConnection(), context.getActualTableName(), getWhereParameters(context), getQueryColumnNames(context), getTableAlias().or(""), getWhereClause()); } UpdateSnapshotAccessor(final SQLRevertExecutorContext executorContext);   }### Answer:
@Test(expected = IllegalStateException.class) public void assertGetSnapshotSQLContextPrimaryKeyNotExist() { String sql = "update t_order t set t.order_id=?, t.status=?, t.modifier=? where t.order_id=? and t.user_id=?"; setMockUpdateStatement(sql, "t_order", "t", 60, 93, "order_id", "status", "modifier"); when(executorContext.getPrimaryKeyColumns()).thenReturn(Lists.<String>newArrayList()); updateSnapshotAccessor.getSnapshotSQLContext(executorContext); }