protected void SetUpClientScriptExpectations()
 {
     ClientScriptManagerMock.Expect(
         mock => mock.GetPostBackEventReference(
             Arg <PostBackOptions> .Matches(options => options.TargetControl == TextBox && options.AutoPostBack),
             Arg.Is(true))
         ).Return("PostBackEventReference");
 }
 protected void SetUpClientScriptExpectations()
 {
     ClientScriptManagerMock.Expect(mock => mock.GetPostBackEventReference(Control, BocReferenceValueBase.CommandArgumentName))
     .Return("PostBackEventReference");
 }