Database mockuping understanding