code: func (a *Assertions) PanicsWithValue(expected interface{}, f assert.PanicTestFunc, msgAndArgs ...interface{}) {
  	if h, ok := a.t.(tHelper); ok {
  		h.Helper()
  	}
  	PanicsWithValue(a.t, expected, f, msgAndArgs...)
  }
docs: // PanicsWithValue asserts that the code inside the specified PanicTestFunc panics, and that
  // the recovered panic value equals the expected panic value.
  //
  //   a.PanicsWithValue("crazy error", func(){ GoCrazy() })