You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: env_test.go
    path of file: ./repos/nanobox/models
    
    the code of the file until where you have to start completion: package models

import (
	"testing"
)

func TestEnvSave(t *testing.T) {
	// clear the envs table when we're finished
	defer truncate("envs")

	env := Env{
		ID:        "123",
		Directory: "/foo/bar",
		Name:      "test-env",
	}

	err := env.Save()
	if err != nil {
		t.Error(err)
	}

	// fetch the env
	env2 := Env{}

	if err = get("envs", env.ID, &env2); err != nil {
		t.Errorf("failed to fetch
    
func TestEnvDelete(t *testing.T) {
	// clear the envs table when we're finished
	defer truncate("envs")

	env := Env{
		ID:        "123",
		Directory: "/foo/bar",
		Name:      "test-env",
	}

	if err := env.Save(); err != nil {
		t.Error(err)
	}

	if err := env.Delete(); err != nil {
		t.Error(err)
	}

	// make sure the env is gone
	keys, err := keys("envs")
	if err != nil {
		t.Error(err)
	}

	if len(keys) > 0 {
		t.Errorf("env was not deleted")
	}
}