mock results unless NO_MOCKING is specified