blob: 729053cf67791ea5d106a8b70e0ce2428626db91 [file] [log] [blame]
// Copyright 2018 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package main
import (
"context"
"fidl/fidl/test/before"
)
type client_before struct {
addMethod *before.AddMethodWithCtxInterface
removeMethod *before.RemoveMethodWithCtxInterface
addEvent *before.AddEventWithCtxInterface
removeEvent *before.RemoveEventWithCtxInterface
}
func (c client_before) callAllMethodsExpectAllEvents() {
c.addMethod.ExistingMethod(context.Background())
c.removeMethod.ExistingMethod(context.Background())
_ = c.removeEvent.ExpectOldEvent(context.Background())
}