hunk.code_window: // See License.txt for license information.
   package utils
   import (
   	"testing"
   )
   func TestConfig(t *testing.T) {
  
hunk.labels: keep keep keep keep add keep keep keep keep
hunk.after_edit: 	"os"
  
hunk.file_path: utils/config_test.go
hunk.type: add
file: package aws
  
  import "testing"
  
  func TestHandlerList(t *testing.T) {
  	r := &Request{}
  	l := HandlerList{}
  	l.PushBack(func(r *Request) { r.Data = Boolean(true) })
  	l.Run(r)
  	if r.Data == nil {
  		t.Error("Expected handler to execute")
  	}
  }
  
  func TestMultipleHandlers(t *testing.T) {
  	r := &Request{}
  	l := HandlerList{}
  	l.PushBack(func(r *Request) { r.Data = Boolean(true) })
  	l.PushBack(func(r *Request) { r.Data = nil })
  	l.Run(r)
  	if r.Data != nil {
  		t.Error("Expected handler to execute")
  	}
  }
  