package storage import "testing" func testStorage(t *testing.T) (*Storage, func()) { m, can := testMongoNew(t) return &Storage{m}, can } func TestStorage(t *testing.T) { _, can := testStorage(t) can() }